Sean Hello

Select

Forms 21

About

Displays a list of options for the user to pick from—triggered by a button.

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

Code

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

Usage.tsx

import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
import { RiGatsbyLine, RiNextjsLine, RiReactjsLine } from '@remixicon/react';

export default function SelectDemo() {
  return (
    <Select defaultValue="3" indicatorPosition="right">
      <SelectTrigger className="w-[200px]">
        <SelectValue placeholder="Select framework" />
      </SelectTrigger>
      <SelectContent>
        <SelectItem value="1">
          <span className="flex items-center gap-2">
            <RiReactjsLine className="size-4 opacity-60" />
            <span>React</span>
          </span>
        </SelectItem>
        <SelectItem value="2">
          <span className="flex items-center gap-2">
            <RiNextjsLine className="size-4 opacity-60" />
            <span>Next.js</span>
          </span>
        </SelectItem>
        <SelectItem value="3">
          <span className="flex items-center gap-2">
            <RiGatsbyLine className="size-4 opacity-60" />
            <span>Gatsby</span>
          </span>
        </SelectItem>
      </SelectContent>
    </Select>
  );
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.3K
  • Line Charts 9

    Line Charts 9

    629
  • Alert

    Alert

    490
  • Line Charts 6

    Line Charts 6

    377
  • Scroll Area

    Scroll Area

    373
  • Area Charts 1

    Area Charts 1

    369
  • Area Charts 2

    Area Charts 2

    303
  • Navigation Menu

    Navigation Menu

    292

More in Forms

View all
  • Premium Auth

    Premium Auth

    499
  • Login 2

    Login 2

    7
  • Authentication Card

    Authentication Card

    46
  • Login 1

    Login 1

    52
  • Contact Card

    Contact Card

    1K
  • Login Form

    Login Form

    6
  • Form

    Form

    16
  • Form

    Form

    136