export const title = "Filter bar components" export const description = "Powerful and customizable React filter bar components built for modern applications and websites. These filter bars are built using React Aria and styled with Tailwind CSS." import * as Demos from "@/components/application/filter-bar/filter-bar.demo.tsx"; import * as DropdownDemos from "@/components/application/filter-bar/filter-dropdown-menu.demo.tsx"; ## Installation You can add this filter bar component using our CLI or manually: ```bash npx untitledui@latest add filter-bar ``` Copy the files below into your project: Great! Now you can start using the filter bar components in your project by just copy/pasting our examples below. ## Filter bar examples Below are examples and variations of this filter bar component: ### Simple {{ tocOnly:true }} ### Tabs and search Our filter bar component works seamlessly with tab navigation. This variant combines tabs for quick category switching with a search input for filtering within each category. ### Tabs and date picker {{ tocOnly:true }} ### Date filters The date filters variant provides multiple ways to select time ranges, including quick-select buttons for common periods, a dropdown for additional options, and a date range picker for custom selections. ### Dropdowns {{ tocOnly:true }} ### Dropdowns and date picker {{ tocOnly:true }} ### Advanced filter inactive The advanced filter variant provides a query builder-style interface with field, operator, and value inputs. This allows users to create complex filter combinations for data-heavy applications. ### Advanced filter active This example shows the advanced filter with multiple active filter rows. Each row can be individually configured with a field, operator, and value, and removed with the close button. ## Filter dropdown menus ### Filter dropdown empty state {{ tocOnly:true }} ### Filter dropdown inactive {{ tocOnly:true }} ### Filter dropdown active {{ tocOnly:true }} ## Filter slideout menus ### Filters advanced empty state menu {{ tocOnly:true }}
### Filters advanced active menu {{ tocOnly:true }}