Loading component…
Components /Elastic Stack
Horizontal expanding staggered stack
Run the following command
npx shadcn@latest add https://www.vengenceui.com/r/elastic-stack.json| Prop Name | Type | Default | Description |
|---|---|---|---|
| items | ElasticStackItem[] | - | Array of items with id, image, and optional name. |
| itemSize | number | 70 | The base width and height of each item in pixels. |
| overlap | number | 30 | The negative margin used to overlap items in pixels. |
| pushForce | number | 15 | The multiplier defining how far sibling items are pushed on hover. |
| className | string | - | Additional CSS classes for the container. |