# Disabled Items

> Select with individual disabled options.

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

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

## Install

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

```tsx
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from '@/components/ui/select'

export function Select07() {
  return (
    <Select defaultValue="pro">
      <SelectTrigger className="w-full max-w-56">
        <SelectValue placeholder="Select a plan" />
      </SelectTrigger>
      <SelectContent>
        <SelectGroup>
          <SelectItem value="free">Free</SelectItem>
          <SelectItem value="pro">Pro</SelectItem>
          <SelectItem value="enterprise" disabled>
            Enterprise
          </SelectItem>
          <SelectItem value="custom" disabled>
            Custom (contact sales)
          </SelectItem>
        </SelectGroup>
      </SelectContent>
    </Select>
  )
}
```
