Home > @uniformdev/design-system > ObjectGridItem
ObjectGridItem() function
A card-style grid item for displaying an object with cover media, heading, subtitle, and optional context menu.
When an onClick handler is provided, the entire card becomes clickable with hover styles. Menu and right-slot interactions use stopPropagation to prevent triggering the card click. Wrap items with ObjectGridContainer for responsive grid layout.
Signature:
Parameters
| Parameter | Type | Description |
|---|---|---|
| { header, cover, rightSlot, menuItems, isSelected, children, menuTestId, ...props } | ObjectGridItemProps |
Returns:
_emotion_react_jsx_runtime.JSX.Element