Fan Stack
- from @knowns-ui
A stack of cards that fans out on hover or keyboard focus and restacks on leave or blur. A tap toggles it on touch. Each card rotates around a point below the stack, with a short stagger. Card content is a slot; spread angle and gap are props. Transform-only, no motion on first render, instant under reduced motion.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @knowns-ui/fan-stackLive preview
No live preview has been built for this component yet.
Registry dependencies1
Packages0
No npm packages are installed with it.
