Sticky Feature Story

Motion

A sticky scroll section where the active step highlights as you scroll and a pinned preview swaps with a step counter. Pass your own steps as props.

src/registry/premium/sticky-feature-story.tsx/r/sticky-feature-story.json

Installation#

bash
npx shadcn@latest add @minidev/sticky-feature-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/sticky-feature-story.json

Usage#

tsx
import { StickyFeatureStory } from "@/components/ui/sticky-feature-story"

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

API reference#

StickyFeatureStory props
PropTypeDefault
stepsStep[][ { label: "01", title: "Compose free...
classNamestring-

Dependencies#

npm

motion

Built from

No other MiniDev files

Examples#

All Animated React components

Learn more