A stack of layered cards that reset and spring out on mouse interactions.
| Prop | Type | Default |
|---|---|---|
childrenThe layered items inside the stack. | ReactNode | — |
classNameAdditional CSS classes for styling. | string | — |
Click on the icon in the top right of the example preview to view the source code for specific variants.
This component is inspired by various open-source projects and patterns. Please verify licenses and implementation details before using in production.
import { LayeredStack } from "@/components/ui/layered-stack"