# Icon in the trigger

> Fixed leading icon in the trigger alongside the selected value; dropdown options are text only.

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

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

## Install

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

```tsx
import { GlobeIcon } from 'lucide-react'

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

export function Select16() {
  return (
    <Select>
      <SelectTrigger className="w-full max-w-56">
        <span className="flex min-w-0 flex-1 items-center gap-2">
          <GlobeIcon className="text-muted-foreground size-4 shrink-0" />
          <SelectValue placeholder="Select a language" />
        </span>
      </SelectTrigger>
      <SelectContent>
        <SelectGroup>
          <SelectItem value="en">English</SelectItem>
          <SelectItem value="es">Spanish</SelectItem>
          <SelectItem value="fr">French</SelectItem>
          <SelectItem value="de">German</SelectItem>
        </SelectGroup>
      </SelectContent>
    </Select>
  )
}
```
