---
title: "Combobox (BloomCombobox) — Bloom UI Primitive"
description: "Searchable autocomplete dropdown menu with multi-select tokenized chips support."
category: "Form Controls"
url: "https://bloom-platform-ten.vercel.app/ui/combobox"
component_name: "BloomCombobox"
pub_package: "bloom_ui"
cli_command: "bloom ui add combobox"
last_updated: "2026-08-15"
---

# Combobox (`BloomCombobox`)

> Searchable autocomplete dropdown menu with multi-select tokenized chips support.

**Category:** Form Controls  
**Package:** [`bloom_ui`](https://pub.dev/packages/bloom_ui)  
**CLI Install:** `bloom ui add combobox`  
**Web Preview:** [https://bloom-platform-ten.vercel.app/ui/combobox](https://bloom-platform-ten.vercel.app/ui/combobox)

---

## 📦 Installation & Setup

### 1. Using Bloom CLI (Recommended)
Add the source code directly to your project without rigid package locks:
```bash
bloom ui add combobox
```

### 2. Using Pub.dev Package
Add the dependency to your `pubspec.yaml`:
```yaml
dependencies:
  bloom_ui: ^0.1.0
```

### 3. Import in Dart
```dart
import 'package:bloom_ui/bloom_ui.dart';
```

---

## 🚀 Usage Example

```dart
BloomCombobox<String>(
  placeholder: 'Select framework...',
  options: const [
    BloomComboboxOption(value: 'flutter', label: 'Flutter (Dart)'),
    BloomComboboxOption(value: 'nextjs', label: 'Next.js (React)'),
    BloomComboboxOption(value: 'astro', label: 'Astro (Web)'),
  ],
  onChanged: (val) {
    print('Selected: $val');
  },
)
```

---

## 🛠️ API Reference

### Properties & Parameters

| Prop | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `options` | `List<BloomComboboxOption<T>>` | *Required* | All filterable options. |
| `onChanged` | `ValueChanged<T>?` | *Required* | Called when an option is chosen. |
| `placeholder` | `String` | `'Select option...'` | Placeholder label. |

---

## 🎨 Theming & Styling

BloomCombobox automatically respects the active `BloomTheme` (including `BloomTheme.novaLight`, `BloomTheme.novaDark`, etc.) and responds seamlessly to dark mode changes, custom border radii, and brand color tokens.

### Theme Overrides Example
```dart
Theme(
  data: Theme.of(context).copyWith(
    extensions: [
      context.bloomTheme.copyWith(
        colors: context.bloomColors.copyWith(
          primary: const Color(0xFF8B5CF6), // Custom Purple Accent
        ),
      ),
    ],
  ),
  child: BloomCombobox<String>(...,
)
```

---

## 🔗 Related Resources
- [Components Gallery](https://bloom-platform-ten.vercel.app/ui)
- [Bloom Theming & Tokens Guide](https://bloom-platform-ten.vercel.app/docs/theming)
- [Application Blocks Catalog](https://bloom-platform-ten.vercel.app/blocks)
- [Bloom CLI Master Overview](https://bloom-platform-ten.vercel.app/docs/cli)
