tigran tumasov

Combobox

Component 40

About

Filters large lists to selectable options based on the matching query.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Combobox to your project and fits it to your theme.

Code

How Combobox is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Combobox } from "@/components/ui/combobox";

export default function DefaultDemo() {
  return (
      <div className="w-3/4">
        <Combobox placeholder="Search...">
          <Combobox.Input />
          <Combobox.List>
            <Combobox.Option value="a">One</Combobox.Option>
            <Combobox.Option value="b">Two</Combobox.Option>
            <Combobox.Option value="c">Three</Combobox.Option>
          </Combobox.List>
        </Combobox>
      </div>
  );
}

Dependencies

More by tigran tumasov

View all
  • Product Hunt Badge

    Product Hunt Badge

    2K
  • Book

    Book

    192
  • Calendar

    Calendar

    159
  • Theme Switcher

    Theme Switcher

    146
  • Snippet

    Snippet

    126
  • Table

    Table

    125
  • Toggle

    Toggle

    103
  • Toast

    Toast

    99