Item

Usage

Use article.item for information, or a.item when the whole row is a link. Every part except section is optional.

Standard shipping

Delivered in 3 to 5 business days.

Status variants: ok, warning, info and danger

A soft fill in the status color. The icon in the figure uses the strong status color.

Payment captured

Charged $38.00 to the card ending in 4417.

Low stock

Only 3 Timeless Watches left.

Order on hold

Waiting for the customer to confirm the address.

Payment failed

The card was declined.

Default, outline and muted

Default

No border and no fill.

Outline

A border around the item.

Muted

A soft fill and no border.

Sizes: default, sm and xs

xs puts the title and description on one line. Good for dense lists.

EW

Emma Wilson

12 orders

OB

Olivia Brown

4 orders

JC

James Carter

1 order

A list of links with lines between them

Put an hr between items in a group. The lines then provide the spacing.

Attributes

Attribute / element Values Description
.item article, a, div One flex row: figure, section, aside; a.item gets a gray fill on hover
> figure 32px box for an icon; an img inside fills it as a circle; an .avatar keeps its own size (use data-size="sm" with sm/xs items)
> section Text. Fills the remaining space
section h3 Title, 14px, weight 500
section p Description, 12px, gray
> aside Buttons, icons or trailing info. Gray, does not shrink
data-variant omit for normal (default), outline, muted, ok, warning, info, danger outline adds a border on white, muted adds a gray fill, statuses use a soft fill and a status-colored icon
data-size omit for normal (default), sm, xs sm: 24px padding and figure; xs: 20px figure, title and description on one line
.item-group div, nav, ul Groups items, 4px apart
.item-group > hr Divider between items (a group with hr has no gap)