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.
Carefully releases wheel events at track start/end bounds while delivering snappy horizontal motion and velocity skew.
Scroll wheel over cards, drag horizontally, or adjust scrub bar.
Zero external dependencies required.
| Prop | Type | Default | Description | Effect |
|---|---|---|---|---|
| slides | HorizontalGallerySlide[] | (required) | Ordered gallery card slides. | Snaps cleanly across horizontal track. |
| skewStrength | number | 6 | Maximum velocity-coupled skew angle in degrees. | Adds tactile momentum lean. |
| progress | number | null | null | Optional externally controlled progress fraction (0..1). | Allows programmatic or slider scrubbing. |
Interactive 2-column Bento showcase that expands selected cards smoothly with spring reflow.
Sharp contrast when focused.
Sibling cards step back calmly.
Works across mouse, touch & keyboard.
Focused card sharpens and elevates cleanly while unselected siblings softly dim and blur.
Three-layer card deck translating horizontally at proportional depth speeds inside perspective space.