Texto que se revela con un corte vertical.
npx shadcn@latest add "https://fancycomponents.dev/r/vertical-cut-reveal.json"
Úsalas en titulares y mensajes clave. Una por pantalla: si todo se mueve, nada destaca.
| Prop | Tipo | Por defecto |
|---|---|---|
| children | React.ReactNode | |
| reverse | boolean | false |
| transition | AnimationOptions | { type: "spring", stiffness: 190, damping: 22, } |
| splitBy | "words" | "characters" | "lines" | string | "words" |
| staggerDuration | number | 0.2 |
| staggerFrom | "first" | "last" | "center" | "random" | number | "first" |
| containerClassName | string | |
| wordLevelClassName | string | |
| elementLevelClassName | string | |
| onClick | () => void | |
| onStart | () => void | |
| onComplete | () => void | |
| autoStart | boolean | true |