NV Elements Catalog Starters Repo System Themes About Getting Started Changelog Metrics Support Accessibility Contributions Requests Migration Integrations Installation MCP CLI Lint Angular Bundles Extensions Golang Hugo Import Maps Lit NextJS Nuxt Preact React SolidJS Svelte TypeScript Vue Foundations 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 Panel 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 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 Documentation Examples TypeScript Testing Unit Testing Accessibility Testing Lighthouse Testing SSR Testing Visual Testing Troubleshooting Component Creation Internal Examples All Examples

Combobox

stable:  0.1.1 Coverage: 91.73% Bundle: 35.27kb Lighthouse: 100 Axe Core Released: 0.17.0
Overview API Examples

An editable combobox with autocomplete behavior and selection support.

message

Installation


    

    
CLI / MCP

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

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

Infinite Scroll

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

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

Demonstrates different container styles to accommodate visual weight and context.

Container Description flat Element has white space bounds but reduced visual container.

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

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.

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

Disable rendering of inline tags for many-item select

Notags Description true false

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

Select All

Select all options provided

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