# With description only items

> Options show a bold label and a muted description sub-line; the trigger shows only the label after selection.

A shadcn/ui block from the [@flx](https://ui.flexnative.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/flx/select-06).

- Page, with a live preview: https://shadcn.exchange/r/flx/select-06
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/flx/select-06-light-3656d3225bf5bb1e.png
- Registry item: https://ui.flexnative.com/r/select-06.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.flexnative.com/r/select-06.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: `select`

## Files

### `registry/patterns/select/select-06.tsx`

```tsx
'use client'

import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from '@/components/ui/select'
import { useState } from 'react'

export function Select06() {
  const [value, setValue] = useState('free')

  const items = [
    {
      value: 'free',
      label: 'Free',
      description: 'Up to 3 projects, 1 user',
    },
    {
      value: 'pro',
      label: 'Pro',
      description: 'Unlimited projects, 5 users',
    },
    {
      value: 'team',
      label: 'Team',
      description: 'Unlimited projects, 20 users',
    },
  ]

  return (
    <Select value={value} onValueChange={(value) => setValue(value ?? '')}>
      <SelectTrigger className="w-full max-w-64">
        <SelectValue placeholder="Select a plan">
          {value && items.find((item) => item.value === value)?.label}
        </SelectValue>
      </SelectTrigger>
      <SelectContent>
        <SelectGroup>
          {items.map((item) => (
            <SelectItem key={item.value} value={item.value}>
              <span className="flex flex-col gap-0.5">
                <span className="text-sm font-medium">{item.label}</span>
                <span className="text-muted-foreground text-xs font-normal">
                  {item.description}
                </span>
              </span>
            </SelectItem>
          ))}
        </SelectGroup>
      </SelectContent>
    </Select>
  )
}
```
