Stack Reveal Story

Motion

Three story cards that rise and overlap into a stack on wider screens as they scroll into view, falling back to a simple vertical list on mobile.

src/registry/premium/stack-reveal-story.tsx/r/stack-reveal-story.json

Installation#

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

Usage#

tsx
import { StackRevealStory } from "@/components/ui/stack-reveal-story"

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

API reference#

StackRevealStory props
PropTypeDefault
classNamestring-

Dependencies#

npm

motion

Built from

No other MiniDev files

Examples#

All Animated React components