# V select 14

> Items with Description

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/v-select-14).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/v-select-14
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/v-select-14-light-800a5ede67385372.png
- Registry item: https://ui.cnippet.dev/r/v-select-14.json
- Categories: select
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/v-select-14.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/select`

## Files

### `registry/default/variants/v-select-14.tsx`

```tsx
import {
  Select,
  SelectItem,
  SelectPopup,
  SelectTrigger,
  SelectValue,
} from "@/registry/default/ui/select";

const deployTargets: {
  description: string;
  label: string;
  value: string | null;
}[] = [
  { description: "", label: "Select environment", value: null },
  {
    description: "Public-facing production environment",
    label: "Production",
    value: "production",
  },
  {
    description: "Internal testing and QA environment",
    label: "Staging",
    value: "staging",
  },
  {
    description: "For feature development and experiments",
    label: "Development",
    value: "development",
  },
  {
    description: "Isolated per-branch preview deployments",
    label: "Preview",
    value: "preview",
  },
];

export default function Particle() {
  return (
    <Select defaultValue={deployTargets[2]} items={deployTargets}>
      <SelectTrigger className="w-56">
        <SelectValue />
      </SelectTrigger>
      <SelectPopup>
        {deployTargets.slice(1).map((item) => (
          <SelectItem key={item.value} value={item}>
            <span className="flex flex-col gap-0.5">
              <span>{item.label}</span>
              <span className="text-muted-foreground text-xs">
                {item.description}
              </span>
            </span>
          </SelectItem>
        ))}
      </SelectPopup>
    </Select>
  );
}
```
