🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place
Forms

Combobox

A searchable dropdown select with filtering, clear button, disabled options, and optional description text.

Quick Preview

Installation

// Copy Combobox.tsx to your components/forms/ folder
// src/components/forms/Combobox.tsx

Usage

import { Combobox } from '@/components/forms/Combobox'
const options = [
{ value: 'next', label: 'Next.js' },
{ value: 'remix', label: 'Remix' },
{ value: 'astro', label: 'Astro', disabled: true },
]
const [framework, setFramework] = useState('')
<Combobox
options={options}
value={framework}
onChange={setFramework}
placeholder="Select a framework…"
label="Framework"
/>

Examples

Frameworks with disabled option

Prompt Preview

Copy a prompt that recreates this UI

Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.

Copy-ready AI prompt

Starts from the current visual reference and project constraints.

Tweak only product-specific copy or data after the first generation pass.

Props

PropTypeDefaultDescription
options*ComboboxOption[]-Array of selectable options
valuestring-Controlled selected value
onChange(value: string) => void-Called when selection changes
placeholderstring"Select an option…"Trigger button placeholder
searchPlaceholderstring"Search…"Search input placeholder
disabledbooleanfalseDisables the entire combobox
labelstring-Label rendered above the trigger
emptyMessagestring"No options found."Message when search has no results