Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

Item with Header

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

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.

Item with Header preview

Scroll to load preview

Installation

FAQ

Was this page helpful?

Sign in to leave feedback.