uibrik

Line-by-line Rise

Preview

Customize

Duration0.45s
Stagger0.08s
Text size48px

Usage

import { LineRise } from "@/components/uibrik/line-rise/line-rise";

<LineRise play={play} />

Installation

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

Props

LineRise
text
Type string
"Good interfaces reveal themselves one line at a time."
The copy to animate.
duration
Type number
0.45
Time for each line to rise.
stagger
Type number
0.08
Delay between lines.
playrequired
Type number
–
Each change plays the effect again; 0 shows its resting state.