jshguo

Select

Forms 378

About

Select dropdown built on Radix UI with support for groups, labels, and separators.

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

"use client"

import {
  Select,
  SelectContent,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from "@/components/ui/interfaces-select"

export default function SelectDemo() {
  return (
    <div className="flex w-full min-h-screen items-center justify-center bg-background p-8 overflow-hidden">
      <Select>
        <SelectTrigger className="w-48">
          <SelectValue placeholder="Select a timezone" />
        </SelectTrigger>
        <SelectContent>
          <SelectItem value="utc">UTC</SelectItem>
          <SelectItem value="est">Eastern (EST)</SelectItem>
          <SelectItem value="cst">Central (CST)</SelectItem>
          <SelectItem value="mst">Mountain (MST)</SelectItem>
          <SelectItem value="pst">Pacific (PST)</SelectItem>
        </SelectContent>
      </Select>
    </div>
  )
}

Dependencies

More by jshguo

View all
  • Progress

    Progress

    432
  • Textarea

    Textarea

    262
  • Interfaces Carousel

    Interfaces Carousel

    169
  • Input OTP

    Input OTP

    166
  • Switch

    Switch

    144
  • Hover Card

    Hover Card

    115
  • Card

    Card

    90
  • Interfaces Breadcrumb

    Interfaces Breadcrumb

    66

More in Forms

View all
  • Form

    Form

    9
  • Contact Form

    Contact Form

    33
  • Contact Card

    Contact Card

    1.1K
  • Premium Auth

    Premium Auth

    615
  • Paper Plane

    Paper Plane

    113
  • Form

    Form

    18
  • Book A Demo 1

    Book A Demo 1

    95
  • Input

    Input

    14