{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "filter-action-bar",
  "title": "Filter Action Bar",
  "description": "Search records, narrow by status, open advanced filters, and show the result count.",
  "dependencies": [
    "lucide-react@^1.33.0"
  ],
  "registryDependencies": [
    "https://components.exe.xyz/r/button.json",
    "https://components.exe.xyz/r/input.json",
    "https://components.exe.xyz/r/select.json"
  ],
  "files": [
    {
      "path": "src/components/blocks/filter-action-bar.tsx",
      "content": "import { Filter, Search } from \"lucide-react\"\n\nimport { Button } from \"@/components/ui/button\"\nimport { Input } from \"@/components/ui/input\"\nimport {\n  Select,\n  SelectContent,\n  SelectItem,\n  SelectTrigger,\n  SelectValue,\n} from \"@/components/ui/select\"\n\nexport function FilterActionBar({\n  placeholder = \"Search records…\",\n  resultCount = 128,\n}: {\n  placeholder?: string\n  resultCount?: number\n}) {\n  return (\n    <div className=\"flex flex-wrap items-center gap-2 rounded-[2px] border border-border bg-card p-2\">\n      <div className=\"relative min-w-48 flex-1\">\n        <Search className=\"pointer-events-none absolute top-1/2 left-2.5 size-4 -translate-y-1/2 text-muted-foreground\" />\n        <Input aria-label=\"Search\" placeholder={placeholder} className=\"pl-8\" />\n      </div>\n      <Select defaultValue=\"all\">\n        <SelectTrigger aria-label=\"Status filter\" className=\"w-32\">\n          <SelectValue />\n        </SelectTrigger>\n        <SelectContent>\n          <SelectItem value=\"all\">All status</SelectItem>\n          <SelectItem value=\"active\">Active</SelectItem>\n          <SelectItem value=\"paused\">Paused</SelectItem>\n        </SelectContent>\n      </Select>\n      <Button variant=\"outline\" size=\"sm\">\n        <Filter /> Filters\n      </Button>\n      <span className=\"px-1 font-mono text-[11px] text-muted-foreground\">\n        {resultCount} results\n      </span>\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}