Velocity X Components

Standard Data

Bulk Selection Toolbar

Checkbox row selection for a data table with a correctly indeterminate select-all, a live selected count, and a contextual action bar that appears only once something is selected, so bulk edit, export, or delete never need a separate mode.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add standard-bulk-selection-toolbar

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Bulk Selection Toolbar →

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Bulk Selection Toolbar
Selectable rows
Row
Acme Industries — INV-10234
Blackwood & Sons — INV-10235
Meridian Health — INV-10236
Solstice Robotics — INV-10237
Harbor Logistics — INV-10238

Props

NameTypeRequiredDefaultDescription
rowsarrayNo[]
selectedIdsarrayNo[]
getRowIdfunctionNo(row, index) => row.id ?? index
onSelectionChangefunctionNo() => {}
actionsarrayNo[]
labelstringNo"selected"
classNamestringNo""

No `Props:` JSDoc comment found — types are undocumented in source, only names/defaults are known.

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/standard-bulk-selection-toolbar/BulkSelectionToolbar.jsx

Using the Bulk Selection Toolbar component

Install it with velocityx add standard-bulk-selection-toolbar. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Standard Data.