All components

Select 05

Select 05 is a React and Tailwind CSS form component from Bund UI, licensed MIT. Copy it and paste it into your project.

Bund UI MIT forms

What it is

Select 05 is a React and Tailwind CSS form component from Bund UI, licensed MIT. Copy it and paste it into your project.

How to use it

Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.

Open in the catalogue

Five free copies a month. No card.

No packages beyond the project baseline

Licence

This component comes from Bund UI and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.

Select 05

examples/components/select/05/page.tsx
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectLabel,
  SelectTrigger,
  SelectValue
} from "@/components/ui/select";

export default function SelectDemo() {
  return (
    <Select defaultValue="3">
      <SelectTrigger className="w-[200px]">
        <SelectValue placeholder="Select user" />
      </SelectTrigger>
      <SelectContent>
        <SelectGroup>
          <SelectLabel className="text-muted-foreground py-1 ps-2 text-xs font-normal">
            Select a user
          </SelectLabel>
          <SelectItem value="1">
            <span className="flex items-center gap-2">
              <Avatar className="size-6">
                <AvatarImage src="/media/avatars/3.png" alt="@reui" />
                <AvatarFallback>AB</AvatarFallback>
              </Avatar>
              <span>Alan Bold</span>
            </span>
          </SelectItem>
          <SelectItem value="2">
            <span className="flex items-center gap-2">
              <Avatar className="size-6">
                <AvatarImage src="/media/avatars/4.png" alt="@reui" />
                <AvatarFallback>EJ</AvatarFallback>
              </Avatar>
              <span>Ethan James</span>
            </span>
          </SelectItem>
          <SelectItem value="3">
            <span className="flex items-center gap-2">
              <Avatar className="size-6">
                <AvatarImage src="/media/avatars/10.png" alt="@reui" />
                <AvatarFallback>NK</AvatarFallback>
              </Avatar>
              <span>Nina Clark</span>
            </span>
          </SelectItem>
          <SelectItem value="4">
            <span className="flex items-center gap-2">
              <Avatar className="size-6">
                <AvatarImage src="/media/avatars/12.png" alt="@reui" />
                <AvatarFallback>JA</AvatarFallback>
              </Avatar>
              <span>Sean Otto</span>
            </span>
          </SelectItem>
        </SelectGroup>
      </SelectContent>
    </Select>
  );
}

Similar components