Launch sale — 60% off Pro
Contact
ItemLayout

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React Item with Header

Item components with ItemHeader containing images in 3-column grid layout displaying model cards built with shadcn/ui Item and ItemGroup

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Cards need header images—product photos, thumbnails, or banners. This React pattern uses ItemHeader wrapping img element with aspect ratio, ItemContent below for title and description, ItemGroup with grid layout creating 3-column card grid. Built with shadcn/ui Item components with outline variant, ItemHeader for media section, grid-cols-3 layout, and aspect-3/2 images maintaining consistent proportions, it's perfect for product grids, model galleries, article previews, portfolio items, or any card layout where header images provide visual context before text content.

v0-1.5-sm
v0-1.5-sm

Everyday tasks and UI generation.

v0-1.5-lg
v0-1.5-lg

Advanced thinking or reasoning.

v0-2.0-mini
v0-2.0-mini

Open Source model for everyone.

Pattern created by @haydenbleasel

Installation

Questions you might have