Geekles

Multiple select

Forms 510

About

Select option with multiple choices

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

Code

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

Usage.tsx

import { MultipleSelect } from "@/components/ui/multiple-select";

export const TABS = [
  { key: 'web-development', name: 'Web Development' },
  { key: 'javascript', name: 'JavaScript' },
  { key: 'typescript', name: 'TypeScript' },
  { key: 'react', name: 'React' },
  { key: 'nextjs', name: 'Next.js' },
  { key: 'nodejs', name: 'Node.js' },
  { key: 'graphql', name: 'GraphQL' },
  { key: 'api-development', name: 'API Development' },
  { key: 'css', name: 'CSS' },
  { key: 'html', name: 'HTML' },
  { key: 'design-systems', name: 'Design Systems' },
  { key: 'tailwind-css', name: 'Tailwind CSS' },
  { key: 'animations', name: 'Animations' },
  { key: 'gsap', name: 'GSAP' },
  { key: 'zustand', name: 'Zustand' },
  { key: 'redux', name: 'Redux' },
  { key: 'testing', name: 'Testing' },
  { key: 'accessibility', name: 'Accessibility' },
  { key: 'seo', name: 'SEO' },
  { key: 'performance', name: 'Performance' },
];

export function MultipleSelectDemo() {
  return (
    <div className="flex h-screen w-screen items-center justify-center">
      <MultipleSelect
        tags={TABS}
        onChange={(items) => {
          console.log("Selected Items:", items);
        }}
        defaultValue={[
          {
            key: 'css',
            name: 'CSS',
          },
        ]}
      />
    </div>
  );
}

Dependencies

More by Geekles

View all
  • Select

    Select

    504
  • Navbar

    Navbar

    303

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 2

    Login 2

    7
  • Authentication Card

    Authentication Card

    47
  • Login 1

    Login 1

    52
  • Contact Card

    Contact Card

    1K
  • Login Form

    Login Form

    6
  • Form

    Form

    16
  • Book A Demo 3

    Book A Demo 3

    83