Image Grid
An interactive gallery that lets users swap the hero image by clicking on thumbnails.
Preview
Hero Right
Hero Top
Installation
Use the CLI to add this component to your project.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items | ImageGridItem[] | - | Array of image objects {id, src, alt} |
layout | "hero-left" | "hero-right" | "hero-top" | "hero-left" | The layout configuration |
enableSwapping | boolean | true | Enable swapping images on click |