Back to Components
Components

Filter Bar

Horizontal filter bar with search input, filter chips, and clear all button.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/filter-bar.tsx

Installation

Using shadcn CLI

npx shadcn add filter-bar --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge