kuratlielia

Multi Select

Forms 2

About

A dropdown field that lets a user pick several values at once, showing them as removable chips with an overflow count.

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

Code

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

Usage.tsx

import { MultiSelect } from "@/components/ui/multi-select";

export default function MultiSelectDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-[var(--background)] p-8">
      <div className="w-full max-w-sm">
        <MultiSelect
          label="Frameworks"
          placeholder="Select frameworks"
          description="Choose the frameworks you use."
          options={[
            { value: "react", label: "React" },
            { value: "vue", label: "Vue" },
            { value: "svelte", label: "Svelte" },
            { value: "solid", label: "Solid" },
            { value: "angular", label: "Angular" },
            { value: "astro", label: "Astro" },
          ]}
          defaultValue={["react", "svelte"]}
        />
      </div>
    </div>
  );
}

Dependencies

More by kuratlielia

View all
  • Activity Heatmap

    Activity Heatmap

    507
  • Image Compare

    Image Compare

    177
  • Stats Band

    Stats Band

    121
  • User Menu

    User Menu

    110
  • Date Range Picker

    Date Range Picker

    89
  • Usage Meter

    Usage Meter

    71
  • Ridgeline Chart

    Ridgeline Chart

    50
  • Timeline

    Timeline

    50

More in Forms

View all
  • Premium Auth

    Premium Auth

    563
  • Login 2

    Login 2

    12
  • Book A Demo 1

    Book A Demo 1

    90
  • Contact Card

    Contact Card

    1.1K
  • Authentication Card

    Authentication Card

    51
  • Form

    Form

    139
  • Card Studio

    Card Studio

    46
  • Login 1

    Login 1

    62