Component
Item list
Published on
Description
The ItemList component renders rows styled like a Task list, each with an optional Dropdown of actions behind a three-dot button. Each item takes id, label, href, optional status/tag/note, and a menu array of links; the icon prop overrides the three-dot sprite reference.
Unlike Task list, rows are never clickable. A whole-row click target wrapping a button means a near-miss on the button navigates away, so a row either navigates as one surface (Task list) or holds controls (Item list) — never both.
Example
Accessibility
- The three-dot button carries a
.visually-hiddenlabel naming its row ("Actions for …"), so buttons are distinguishable out of context. - The dropdown inherits its behavior from the Dropdown component: native
popover,aria-expandedmanaged by the browser, Escape and light-dismiss, no JavaScript.
Related
Variables
None