Search documentation

Search guides, examples, and component APIs.

Quick links
↑↓ NavigateEnter OpenEsc Close
Get started

Blocks / Workspace & tools

Range filter panel

A filter sidebar with price and distance range sliders that narrows a result list and reports the count.

bunx --bun @getweini/cli@latest add badge button card range-slider
Customize
  • Edit `spaces` and the `bounds` prop. Each `RangeSlider` is a controlled two-handle range: the block filters the list locally and you can emit the ranges to a server instead.
  • The result count is a polite live region, so assistive technology hears the update as the handles move. Both handles have separate accessible names in `copy`.
  • `Reset filters` appears once any range differs from its default and restores both sliders. The `empty` state suggests widening the ranges.
  • Currency and distance use `Intl.NumberFormat` with the `locale` and `currency` props; change `step` and `minRange` through `bounds`.
  • On small screens the filters stack above the results; from `lg` they become a sticky sidebar.