uibrik

Fade In Left to Right

Preview

Customize

Duration0.9s
Softness30%
Text size48px

Usage

import { FadeLeftToRight } from "@/components/uibrik/fade-left-to-right/fade-left-to-right";

<FadeLeftToRight play={play} />

Installation

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

Props

FadeLeftToRight
text
Type string
"Revealed with a soft edge"
The copy to animate.
duration
Type number
0.9
Time for the edge to cross the line.
softness
Type number
30
Width of the soft edge.
playrequired
Type number
–
Each change plays the effect again; 0 shows its resting state.