NV NVIDIA Elements Catalog Starters Repo System Themes Getting Started Getting Started Installation CLI MCP Skills Lint Integrations Getting Started Angular Bundles CDN Custom Elements Eleventy Golang HTMX + Go Hugo Import Maps Lit Lit Library MCP Apps NextJS Nuxt Preact React SolidJS Svelte TypeScript Vue About What’s New Changelog Metrics Support Accessibility Contributions Requests Migration Foundations Overview Typography Iconography Themes Design Tokens Size & Space Objects Interactions Support Status Color Animation Fonts Layers Custom Layout Horizontal Vertical Grid Popovers i18n Visualization View Transitions DESIGN.md Elements Accordion Alert Avatar Badge Breadcrumb Button Button Group Card Chat Message Checkbox Codeblock Color Combobox Copy Button Datagrid Getting Started Integrations Column Action Column Alignment Column Fixed Column width Container Card Display Settings Footer Heatmap Keynav Multi Select Pagination Panel Detail Panel Grid Performance Placeholder Row Action Row Groups Row Sort Scroll Height Single Select Stripe Date Datetime Dialog Divider Dot Drawer Dropdown Dropdown Group Dropzone File Format Bytes Datetime Number Relative Time Truncate Forms Getting Started Validation Actions Control Gauge Icon Icon Button Input Input Group Logo Markdown Markdown CSS Media Controller Pause Button Playback Rate Select Mute Button Seek Button Time Range Volume Range Full-screen Button Menu Month Monaco Input Diff Input Monaco Editor Diff Editor Problems Notification Page Page Header Page Loader Pagination Progressive Filter Chip Progress Bar Progress Ring Password Preferences Input Pulse Radio Range Resize Handle Search Select Skeleton Sort Button Sparkline Star Rating Steps Switch Tabs Tag Textarea Time Toast Toggletip Toolbar Tooltip Tree Week Patterns Authentication Browse Chat Dashboard Editor Empty States Heatmap Keyboard Shortcut Logging Media Navigation Onboarding Panel Responsive Search Subheader Trend Labs Responsive Layout Viewport Container Patterns Forms API Design Properties & Attributes Slots Registration CustomEvents Stateless Composition Styles Packaging Glossary Logs Internal Guidelines Agent Harness Agent Tooling Agent Ownership Documentation Examples TypeScript Testing Unit Testing Accessibility Testing Lighthouse Testing SSR Testing Visual Testing Troubleshooting Component Creation Internal Examples All Examples

Combobox

stable:  2.7.3 Coverage: 92.63% Bundle: 35.63kb Lighthouse: 100 Axe Core Released: 0.17.0
Overview API Examples

An editable combobox with autocomplete behavior and selection support.

message

Installation

CLI / MCP / CDN

Single Select

Single select allows users only to select from a predefined list of options. Invalid input is automatically cleared. All options are visible on focus until typing begins for filtering.

message

Multi Select

Multi select allows users to select many options from a predefined list. The select value will only reflect the first selected value. To get all selected options check the selected property on each <option> or the select property selectedOptions. On focus all options will show until the user starts typing. Select is the selection value of the combobox. The input is the filter value.

message

Selected First

\n"}

Multi-select that reorders selected options before unselected options after the combobox closes. Use when long filter lists need selected values to stay easy to review.

message

Empty Default

Combobox with an empty initial value using a disabled placeholder option. Use when no default selection exists and the user must make an explicit choice.

message

Option Label

Combobox options with display labels that differ from underlying values. Use when option values are IDs or codes but users need to see human-readable text in the input.

message

Overflow

Overflow behavior where many tags collapse into a simple text label when the parent container is too narrow.

message

Overflow Wrap

Combobox with option to wrap tags when the parent container is too narrow. Input will span below the tags.

message

Infinite Scroll

\n"}

Infinite scroll combobox loading, using the scroll event to append options as the user nears the end of the list. Use for server-backed datasets where loading all options up front is impractical.

Create Options

\n"}

Combobox with create option behavior that allows users to add new options and tags on the fly. Use when the option list is not exhaustive and users need to enter values that don't yet exist.

Press Enter to create a tag that doesn't exist yet

Layout

Controls the directional arrangement and spacing behavior of the element's content.

Layout Description vertical Arranges content in a vertical stack with block-level spacing. vertical-inline Arranges content vertically with compact inline spacing for dense layouts. horizontal Arranges content in a horizontal row with block-level spacing. horizontal-inline Arranges content horizontally with compact inline spacing.

Vertical

Vertical layout showing different combobox states (normal, disabled, success, error) stacked for comparison.

message message message message

Horizontal

Horizontal layout showing different combobox states (normal, disabled, success, error) for inline form layouts.

message message message message

Container

Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds.Use when embedding within another container such as a toolbar.

Container Description flat

Flat

Flat container style with prefix icon for compact inline filtering interfaces.

slot for dropdown footer content

Multi-select with footer action button for extra operations on selected items.

Form

\n"}

Complete form integration showing combobox with form submission, reset, and programmatic value setting.

message
set reset submit

Reset

Resets control value to initial attribute value and clears any active validation rules.

\n"}

Multi-select with reset functionality via icon button and footer button to clear all selections.

reset message

Disabled Options

Multi-select with disabled options to show unavailable choices while maintaining visual context.

message

No Tags

Manage inline tag rendering for many-item select

TagLayout Description hidden wrap
\n"}

Multi-select without built-in tags, using external tag management for custom selection display.

Select All

Select all options provided

\n"}

Multi-select with bulk selection controls (Select All/Deselect All) in footer for efficient mass operations.

Select All Deselect All
message

Release Status

All elements and features go through 3 phases of stability, pre-release, beta and stable.

pre-release
Docs Preview API Documentation Fully Themeable
beta
Robust unit test coverages Passed API Review Passed Designer VQA Review Included in library package
stable
No known outstanding AA WCAG issues No known outstanding performance issues Adapts to different screen/container sizes No breaking API changes for at least 90 days