Components
← All components

Bulk Select

stimeo--bulk-select

Links row checkboxes to a sticky batch action bar with a live count.

The stimeo--bulk-select controller links a select-all checkbox to the row checkboxes (with the indeterminate middle state), reveals a sticky action bar once one or more rows are selected, keeps the selected count, and offers a two-step "select all across pages" mode. Data Grid owns per-row selection; this is the contextual action-bar layer on top. Selection lives only in each checkbox's checked state (no module-scope set), so connect recomputes idempotently after a Turbo swap. Row changes are handled by delegation, so dynamically-added rows work without per-row wiring. Showing the bar never steals focus (WCAG 2.2 2.4.3); the count rides the bar's own aria-live region (WCAG 2.2 4.1.3). It dispatches stimeo--bulk-select:change, and the delegated listener is removed on disconnect (Turbo included). Behavior only — running the batch action and all styling belong to this Playground.

running
Name Role
Ada Lovelace Engineer
Alan Turing Researcher
Grace Hopper Engineer