Click any grid card to expand focus span
stiffness: 340 · damping: 28
Expandable Grid
Interactive 2-column Bento showcase that expands selected cards smoothly with spring reflow.
Guides user attention effortlessly across comparison tiers, showcases, or case study collections with zero dependencies.
Sharp contrast when focused.
Sibling cards step back calmly.
Works across mouse, touch & keyboard.
Hover or tap individual cards to isolate focal attention.
Zero external dependencies required.
| Prop | Type | Default | Description | Effect |
|---|---|---|---|---|
| items | FocusGalleryCard[] | (required) | Cards rendered inside horizontal grid. | Each item carries unique tag, caption, and accent tint. |
| blurAmountPx | number | 2.5 | Gaussian blur radius applied to dimmed sibling tiles. | Adjusts background sibling softness. |
| dimOpacity | number | 0.42 | Target opacity for inactive neighbor cards. | Tunes sibling recession level. |
| focusScale | number | 1.03 | Transform scale boost applied to focused tile. | Elevates active tile. |
Interactive 2-column Bento showcase that expands selected cards smoothly with spring reflow.
Three-layer card deck translating horizontally at proportional depth speeds inside perspective space.
Smooth wheel-to-horizontal showcase strip with velocity skew inertia and progress bar.