Item

List-item layout primitive โ€” media, content, end slots.

Item is the list-row layout: leading media, a title/description block, and a trailing end slot. Lists, cards, notifications, search results.

Installation

import { Item, ItemMedia, ItemContent, ItemTitle, ItemDescription, ItemEnd } from "@iammikz/srui";

Usage

๐Ÿ“„
Q3 report.pdf
Updated 2 hours ago ยท 1.2 MB
Shared
๐Ÿ“Š
Draft โ€” budget.xlsx
You edited this file
Live

Exports

ExportNotes
Itemvariant="row" (default) or "column"
ItemMediaalign="start" pins it to the first text line
ItemContent / ItemTitle / ItemDescriptionThe text block
ItemEndTrailing slot, vertically centered