DocumentationFlow Scroll

Flow Scroll

A smooth scroll-driven animation where elements flow and transform as you scroll through the page. Creates a cinematic experience.

Install using CLI

npx shadcn@latest add "https://obsidianui.dev/r/flow-scroll.json"

Install Manually

1

Install dependencies

npm install framer-motion clsx tailwind-merge
2

Copy the source code

Copy into components/ui/flow-scroll.tsx

Note: Install via CLI for the full scroll-triggered animation implementation.

Props

Prop NameTypeDefaultDescription
childrenReact.ReactNode-FlowItem children
classNamestring-Additional CSS classes