Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Combobox examples · Rich Content

Items with Descriptions Combobox for React

A combobox of integrations with a one-line description under each name.

Framework
UI library

An integration picker where every row has two lines: GitHub, Slack or Notion in font-medium, then what it does in smaller muted text. The button shows only the name once one is picked. Use it when the names alone don't say enough to choose between options.

Preview

Preview width

Installation

Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.

FAQ

How are the two lines laid out?

A flex flex-col gap-0.5 block inside ComboboxItem: the name in font-medium, the description in text-muted-foreground text-xs. The item gets py-3 for room.

Which integrations are listed?

GitHub (Connect your GitHub repositories), Slack (Send notifications to Slack channels) and Notion (Sync data with Notion databases).

What does the button show?

The picked name only, or Select integration... before a pick.

Where does the check go?

At the end of the row, where ComboboxItem always puts it, so it doesn't push the two lines around.

What shows when nothing matches?

No integration found.