Usage
actions.aria-expanded carries open or closed, so Queue takes no "Collapse" or "Expand" copy. The tally defaults to the number of entries. Pass count to show another number, such as the entries still to do. It is a number the caller owns, so it is not recounted from completed.
| Field | Use |
|---|---|
id | Stable identity; the React key. |
content | The entry. One line; longer text ends in an ellipsis, with the full text in the tooltip title. |
description | A second line under the content, at the subtle tier. |
completed | A check replaces the dashed ring and the content is struck through. Pass completedLabel on the Queue too. |
actions | Icon buttons for the entry, each with a glyph, a name and a handler. |
maxHeight the section grows with its entries. With maxHeight the entries stop at 96, 128 or 256px (QueueMaxHeight.Small, Medium, Large) and scroll. A list shorter than the cap takes its own height.
Uncontrolled by default and open. Pass defaultOpen={false} to start collapsed, or open and onOpenChange to control it. onOpenChange(open, details) is cancelable.
Reordering, selection, per-entry progress, an entry onClick, and markdown in an entry.