List item

Selectable rows for collections, such as layers.

Installation

Examples

Default

ListItemAction holds ghost icon buttons at the row's end, reaching into its padding so each icon sits 12px in. render draws a row as another element, such as a link: <ListItem render={<a href="/layers/sky" />}>. The rows of a Tree are these.

demo.tsx
Sky
Subject
Vignette
Image

Muted

muted dims a row's text, such as a hidden layer's.

muted.tsx
Sky
Subject
Vignette
Image

Anatomy

Each part's data-slot, which a theme styles, is beside it.