Filters Bar

Search + date + filter button row for table pages. Shows an active filter count badge.

import{ FiltersBar } from "@pepulux/ui"

Default

⌘K

With active filters

⌘K

Props

PropTypeDefaultDescription
searchPlaceholderstring"Search"Placeholder text in the search input
onSearch(query: string) => void—Called when the search value changes
onDateSelect() => void—Called when the date button is clicked
onFilters() => void—Called when the Filters button is clicked
activeFiltersCountnumber0Shows badge on Filters button with count
selectedDateLabelstring—Label shown in the date button when a date is selected
childrenReactNode—Additional controls inserted between search and date
Application component → Filterswww.pepulux.com

Notes and documentation

Space for notes, documentation, and best practices for using these components.

Narrow big lists

Combine search, a date range and a filters menu. Show the number of active filters on the button so people know the list is narrowed.