39 Pro components and page blocks

Get Pro

Rust Text

New

Preview

Customize

Duration14s
Start0.15
Brush30px
Text size96px

Usage

import { RustText } from "@/components/uibrik/rust-text/rust-text";

<RustText />

Installation

npx shadcn@latest add https://uibrik.com/r/rust-text.json
Adds the files to components/uibrik/rust-text and installs motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/rust-text.

Props

RustText
text
Type string
"Rust never sleeps"
The words, on one line.
duration
Type number
14
Time for clean metal to rust right through.
start
Type number
0.15
How rusted it is when it appears.
brush
Type number
30
Polishing brush radius.
flakes
Type boolean
true
Let fully rusted metal flake off.
className
Type string
–
Classes for the wrapper.