Fan Hover Card Stack
ProHover a stacked profile deck and watch the cards fan outward in sequence while the active one lifts to the front.
carouselcss 3d3dcardsfanhoverstackgallery
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items | FanStackCard[] | - | Profile cards rendered in the stack. |
defaultActiveIndex | number | 2 | Card that sits in front when the deck is collapsed. |
spread | number | 168 | Horizontal fan distance in pixels when expanded. |
lift | number | 34 | Vertical lift for the active expanded card in pixels. |
onActiveChange | (item: FanStackCard, index: number) => void | - | Fires when the active card changes. |
