Draft. Proposed from the survey of 18 design systems and not yet approved. It is in the registry so teams can try it; the API may still change before approval.
When to use
- In a table or list where users select several rows and act on them together: pause, delete, export.
When not to use
- When nothing is selected. Hide the bar.
- For page-level actions. Put them in the page header.
Anatomy
| Part | Notes |
|---|---|
| Container | color.surface.overlay, border color.border, elevation.shadow.overlay, radius.card. Sits above the table or floats at the bottom of it |
| Count | “3 connections selected”, font.label.default |
| Actions | Small (24 px) buttons; Danger for delete, with a confirmation |
| Clear | Icon-only Subtle button x, named “Clear selection” |
Behaviour
- Appears when the first row is selected and hides when the last is cleared.
- The count updates on every change.
- After a bulk action, say what happened, such as “3 connections paused”.
Accessibility
- The bar is a region with an
aria-label, such as “Actions for selected rows”. - A polite live region announces the count when it changes.
- Esc clears the selection when focus is in the bar.