Scroll Chapter Story

Motion

A scroll story of three chapters that slide in as you scroll, with a sticky progress bar that fills with scroll position across the whole section.

src/registry/premium/scroll-chapter-story.tsx/r/scroll-chapter-story.json

Installation#

bash
npx shadcn@latest add @minidev/scroll-chapter-story

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/scroll-chapter-story.json

Usage#

tsx
import { ScrollChapterStory } from "@/components/ui/scroll-chapter-story"

export function Example() {
  return (
    <ScrollChapterStory />
  )
}

API reference#

ScrollChapterStory props
PropTypeDefault
classNamestring-

Dependencies#

npm

motion

Built from

No other MiniDev files

Examples#

All Animated React components