Hero Expand

Click-to-expand hero gallery with fullscreen interactions.

galleryexpandherofullscreen

Props

Customize the component with these props

PropertyTypeDefaultDescription
items
Array<{id: string, title: string, col: string, img: string}>[{id: '1', title: 'Cyber', col: 'col-span-2 row-span-2', img: '...'}, ...]Array of items with id, title, grid span classes, and image URL (empty img for empty slots).
backgroundColor
string#18181bBackground color (hex, rgb, or hsl).
emptySlotText
stringEmptyText displayed in empty grid slots.
fullScreenText
stringFull screen immersive view active. Click anywhere to return to the grid matrix.Text displayed in fullscreen view.
Hero Expand - Grids & Layouts Component | UILora