Command Palette
Search for a command to run

Vertical Cut Reveal

Reveal text from vertical cuts with word, character, or line-based staggering.

motion-sv

Installation

pnpm dlx shadcn-svelte@latest add http://sveltekit-prerender/f/vertical-cut-reveal.json
Visit Original Docs

For more deeper understaing visit fancy components documentation.

Examples

Split By Characters And Lines

Split By Words

Stagger From Variants

Random Letter Reveal

Scroll Trigger

Scroll down champ ↓

Props

PropTypeDefaultDescription
childrenSnippetundefinedSnippet content observed and split into animated units.
reversebooleanfalseReverses the reveal direction so units enter from above instead of below.
transitionAnimationOptions{ type: "spring", stiffness: 190, damping: 22 }Motion options used for each revealed unit.
splitBy"words" | "characters" | "lines" | string"words"Controls whether the text is split by words, characters, lines, or a custom delimiter.
staggerDurationnumber0.2Delay in seconds between animated units.
staggerFrom"first" | "last" | "center" | "random" | number"first"Starting point used when calculating stagger delays.
containerClassstringundefinedClasses applied to the outer flex container.
wordLevelClassstringundefinedClasses applied to each overflow-hidden group wrapper.
elementLevelClassstringundefinedClasses applied to each individual animated unit wrapper.
onStart() => voidundefinedCalled when the reveal animation begins.
onComplete() => voidundefinedCalled after the final visible unit finishes animating.
autoStartbooleantrueStarts the reveal automatically instead of waiting for `startAnimation()`.
classstringundefinedAdditional classes merged onto the outer container.