Skip to content
Browse library
BIU UI/Components/Filter Menu
COMPONENTSPro

Filter Menu

Explore the Filter Menu component and try its interactive examples.

INTERACTIVE PREVIEW

Preview

Loading preview…
GET STARTED

Installation

BIU UI ProEarly Access · Coming Soon
Filter Menu source is part of BIU UI Pro

The interactive preview and API reference are open to try right here. Full single-file TSX source and @biudev-pro/filter-menu shadcn Registry installs are reserved for BIU UI Pro. Meanwhile, all 41 core components and 2 starter blocks are free and open source under MIT.

npx shadcn@latest add @biudev-pro/filter-menu

Usage

Start with this example, then adjust the import path for your project.

EXAMPLE / TSX
import { useState } from "react";
import { FilterMenu, type FilterValue } from "@/components/ui/biu/filter-menu";

export function Example() {
  const [value, setValue] = useState<FilterValue>({});
  return (
    <FilterMenu
      groups={[
        {
          id: "stage",
          label: "Stage",
          options: [
            { id: "new", label: "New" },
            { id: "active", label: "Active" },
          ],
        },
      ]}
      value={value}
      onChange={setValue}
    />
  );
}

Examples

Try each example or switch to its code.

API reference

Properties and defaults from the component source. An asterisk marks a required property; a dash means no explicit default.

FilterGroup

FilterValue

Also accepts properties from Record<string,string[]>.

FilterMenuProps

Source

BIU UI ProEarly Access · Coming Soon
Filter Menu source is part of BIU UI Pro

The interactive preview and API reference are open to try right here. Full single-file TSX source and @biudev-pro/filter-menu shadcn Registry installs are reserved for BIU UI Pro. Meanwhile, all 41 core components and 2 starter blocks are free and open source under MIT.

npx shadcn@latest add @biudev-pro/filter-menu