Velocity X Components

Forms

Filter Sidebar Panel

Vertical catalog filter stack with collapsible checkbox groups and a price range, built on native details elements.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add filter-sidebar-panel

Built for astro.

Full docs for Filter Sidebar Panel →

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

astro v1.0.0
Filter Sidebar Panel

Filters

Category
Brand

Price range

–

Props

NameTypeRequiredDefaultDescription
actionstringNo'#'
methodstringNo'GET'
headingstringNo'Filters'
groupsFilterGroup[]No[ { title: 'Category', name: 'category', open: true, options: [ { label: 'Furniture', value: 'furniture', count: 128 }, { label: 'Lighting', value: 'lighting', count: 64 }, { label: 'Textiles', value: 'textiles', count: 41 }, ]}, { title: 'Brand', name: 'brand', options: [ { label: 'Northbound', value: 'northbound', count: 22 }, { label: 'Ferro & Co', value: 'ferro', count: 18 }, ]}, ]
minPricenumberNo0
maxPricenumberNo2000
applyLabelstringNo'Apply filters'
clearLabelstringNo'Clear all'
classNamestringNo''

File this creates

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

text
components/velocity/filter-sidebar-panel/FilterSidebarPanel.astro

Using the Filter Sidebar Panel component

Install it with velocityx add filter-sidebar-panel. 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 Forms.