Velocity X Components

Standard Data

Filter Chip Bar

Active filters shown as removable chips with a clear-all action, wrapping to extra rows instead of scrolling off so long filter sets stay scannable.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add standard-filter-chip-bar

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 Filter Chip Bar →

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

react v1.0.2 react
Filter Chip Bar
  • Status: Open
  • Assignee: Priya Shah
  • Priority: High

Props

NameTypeRequiredDefaultDescription
filtersarrayNo[]
onRemovefunctionNo() => {}
onClearAllfunctionNo() => {}
labelstringNo"Active filters"
clearAllLabelstringNo"Clear all"
emptyTextstringNo"No filters applied"
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-filter-chip-bar/FilterChipBar.jsx

Using the Filter Chip Bar component

Install it with velocityx add standard-filter-chip-bar. 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.