Scroll Animation
Scroll Reveal
ScrollReveal.vueScroll ↓
Spring slide
Blur in
Staggered by delay
Reveal once
End
Install
Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide
Download the release archive to your project root, then install the local file.
Import the shared styles once in your application.
TSUsage
API Reference
y?numberSlide distance in px before reveal.
Default
16blur?numberEnter blur in px (kept ≤ 10 per motion conventions).
Default
8duration?numberReveal duration in seconds.
Default
.6delay?numberDefault
0once?booleanReveal only once (default) or every time it enters view.
Default
trueamount?"some" | "all" | numberPortion of the element that must be visible to trigger.
Default
.3root?Element | nullScroll root element for contained scroll areas. Defaults to the viewport.
Default
—class?stringDefault
—#default?slotDefault
—Updated