Components
Item
Item is a standalone component for displaying a single piece of content. Use with ItemContent, ItemTitle, ItemDescription, etc. for structured content.
Usage
Best practices
Structure content with
ItemContent/ItemTitle/ItemDescription(plusItemMedia/ItemActions) rather than raw divs - the compound parts carry the gap and truncation rhythm.Wrap a set of items in
ItemGroupand set the look via itsvariant(divided/separated/grouped) -Itemadapts automatically, so avoid re-styling borders/backgrounds per item.Use
renderto make the whole item a link/button (e.g.render={<Link href="…" />}); the item's children become the link's content.Reach for
Itemfor generic single rows; for files/documents useDocumentList, and for term/value metadata useDescriptionList.
Props
Item
ItemGroup
ItemMedia
ItemSeparator
Also exports
- component
ItemActions - const
itemAnatomy - component
ItemContent - component
ItemDescription - component
ItemFooter - const
itemGroupAnatomy - type
ItemGroupProps - component
ItemHeader - interface
ItemMediaProps - interface
ItemProps - component
ItemTitle