Search documentation

Search guides, examples, and component APIs.

Quick links
↑↓ NavigateEnter OpenEsc Close
Get started

Blocks / Marketing & media

Product gallery with creator cards

A filterable grid of media tiles with fixed aspect ratios and hover cards that preview each maker.

bunx --bun @getweini/cli@latest add aspect-ratio avatar badge button hover-card toggle-group
Customize
  • Edit the `products` prop. Each tile uses `AspectRatio`, so images of any size crop to the same 4:3 frame. Replace the inline SVG artwork with an `img` that has alt text.
  • The maker name is a real button that opens a `HoverCard` on hover or focus. Keep essential details, like the price and title, outside the card because touch users open it with a tap.
  • The category filter is a single-select `ToggleGroup`; filtering is done in the block, so a server-driven catalog can emit `filter` instead.
  • The featured tile spans two columns from `sm` upward and collapses to one column on phones.
  • Use the `empty` state to preview the message shown when no products match.