NV Elements Catalog Starters Repo System Themes Getting Started Getting Started Installation CLI MCP Skills Lint Integrations Getting Started Angular Bundles Custom Elements Golang Hugo Import Maps Lit Lit Library MCP Apps NextJS Nuxt Preact React SolidJS Svelte TypeScript Vue About 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 Elements Accordion Alert Avatar Badge Breadcrumb Button Button Group Card Chat Message Checkbox Color Combobox Copy Button Datagrid 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 Datetime Format Number Format Relative Time Forms Validation Actions Control Icon Icon Button Input Input Group Logo Menu Month 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 Code Codeblock Monaco Input Diff Input Editor Diff Editor Problems Markdown Markdown CSS Utility 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:  0.2.4 Coverage: 91.73% Bundle: 35.27kb Lighthouse: 100 Axe Core Released: 0.17.0
Overview API Examples
DefaultVerticalHorizontalFlatSelectMultiSelectSelectedFirstEmptyDefaultLabelLabelMultiSelectOverflowOverflowWrapPopoverOverflowResetFooterSelectAllDisabledOptionsNoTagsCreateOptionsFormDynamicTypeaheadSearchInfiniteScrollPerformancePerformanceSelectDynamicOptionsFilterDemo

Default

message
Edit Example

An editable combobox with autocomplete behavior and selection support.

Vertical

test-case
message message message message
Edit Example

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

Horizontal

message message message message
Edit Example

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

Flat

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

Select

message
Edit Example

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.

Multi Select

message
Edit Example

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.

Selected First

message
Edit Example

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.

Empty Default

message
Edit Example

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.

Label

message
Edit Example

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.

Label Multi Select

message
Edit Example

Multi-select with labeled options where display text differs from option values.

Overflow

test-case
message
Edit Example

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

Overflow Wrap

test-case
message
Edit Example

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

Popover Overflow

test-case
message
Edit Example

Combobox handling of long option text in constrained width containers.

Reset

reset message
Edit Example

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

Edit Example

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

Select All

Select All Deselect All
message
Edit Example

Select all options provided

Disabled Options

message
Edit Example

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

No Tags

Edit Example

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

Create Options

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

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.

Form

message
set reset submit
Edit Example

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

pattern
Edit Example

Fetches options asynchronously as the user types, cancelling stale requests with AbortController. Use for server-backed search where the full option set is too large to load up front.

Infinite Scroll

pattern
Edit Example

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.

Performance

test-caseperformance

Performance test with 1000 options to show filtering efficiency with large datasets.

Performance Select

test-caseperformance

Performance test with 1000 options to show filtering efficiency with large datasets.

Dynamic Options

test-case
Edit Example

Dynamic options with datalist and select variants of combobox.

Filter Demo

test-case

Interactive demo showing progressive filter chips with dynamic combobox creation for complex filtering interfaces.