---
site: ui.zyx.tw
url: https://ui.zyx.tw/combobox
title: Combobox
description: "Trigger and content for a searchable picker built from Popover and Command."
---

# Combobox

Trigger and content for a searchable picker built from Popover and Command.

Group: Controls.

## Install

```bash
bunx shadcn@latest init https://ui.zyx.tw/r/base.json
bunx shadcn@latest add @zyx1121/combobox
```

The first line sets a project up on the base; skip it if the project already has it.

## Item

### Combobox (`combobox`)

Trigger and content for a searchable picker built from Popover and Command.

- Install: `bunx shadcn@latest add https://ui.zyx.tw/r/combobox.json`
- JSON: [combobox.json](https://ui.zyx.tw/r/combobox.json)
- Page: [https://ui.zyx.tw/combobox](https://ui.zyx.tw/combobox) ([Markdown](https://ui.zyx.tw/combobox.md))
- npm dependencies: `cn`, `lucide-react`
- Registry dependencies: `https://ui.zyx.tw/r/utils.json`, `https://ui.zyx.tw/r/field-trigger.json`, `https://ui.zyx.tw/r/popover.json`, `https://ui.zyx.tw/r/frame.json`

## More

- [Index](https://ui.zyx.tw/index.md): every item
- [Agent instructions](https://ui.zyx.tw/agent-instructions.md): the call order and the rules
- [DESIGN.md](https://github.com/zyx1121/www.zyx.tw/blob/main/apps/ui/DESIGN.md): the design contract
