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) => voidCalled when the search value changes
onDateSelect() => voidCalled when the date button is clicked
onFilters() => voidCalled when the Filters button is clicked
activeFiltersCountnumber0Shows badge on Filters button with count
selectedDateLabelstringLabel shown in the date button when a date is selected
childrenReactNodeAdditional controls inserted between search and date