Skip to content
THE COMPONENT LIBRARY
Skip to content

Component reference

MultiSelect

Choose a technology stack with an application-owned limit.

Preview

Live preview

Changes apply to this preview only.

ReactNext.js
Use arrow keys to browse options and Enter to toggle a selection. Press Backspace in an empty search field to remove the last selection.

Up to four technologies.

2/4 selected

Selected: react, nextjs

Width adapts to the available space

More examples

Different configurations and compositions using the real Pimolu API. Each preview runs independently and follows the site appearance.

Sizes

From xs to xxl.

Open preview

Variants

The semantic tone of the field and its tags.

Open preview

Appearances

Outline, soft, filled and glass.

Open preview

Usage

Use stable option values and apply selection limits deliberately; display the resulting state nearby.

API reference

Generated from the public TypeScript declarations. Native HTML attributes are inherited where the component extends them; this reference includes Pimolu props and selected common native attributes.

PimoluMultiSelectOption

Type source
PimoluMultiSelectOption public API
NameTypeDefaultDescription
valueRequiredstring—Public Pimolu prop; see the source declaration for details.
labelRequiredstring—Visible label associated with the control.
disabledboolean | undefinedfalsePublic Pimolu prop; see the source declaration for details.
keywordsreadonly string[] | undefined—Public Pimolu prop; see the source declaration for details.
valueRequired

string

No default extracted.

Public Pimolu prop; see the source declaration for details.

labelRequired

string

No default extracted.

Visible label associated with the control.

disabled

boolean | undefined

Default: false

Public Pimolu prop; see the source declaration for details.

keywords

readonly string[] | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

PimoluMultiSelectProps

Type source
PimoluMultiSelectProps public API
NameTypeDefaultDescription
idstring | undefined—Public Pimolu prop; see the source declaration for details.
namestring | undefined—Public Pimolu prop; see the source declaration for details.
formstring | undefined—Public Pimolu prop; see the source declaration for details.
optionsRequiredreadonly PimoluMultiSelectOption[]—Public Pimolu prop; see the source declaration for details.
valuereadonly string[] | undefined—Public Pimolu prop; see the source declaration for details.
defaultValuereadonly string[] | undefined[]Public Pimolu prop; see the source declaration for details.
onValueChange((values: string[]) => void) | undefined—Public Pimolu prop; see the source declaration for details.
onQueryChange((query: string) => void) | undefined—Public Pimolu prop; see the source declaration for details.
maxSelectednumber | undefined—Public Pimolu prop; see the source declaration for details.
clearableboolean | undefinedtruePublic Pimolu prop; see the source declaration for details.
labelstring | undefined—Visible label associated with the control.
placeholderstring | undefined"Search..."Public Pimolu prop; see the source declaration for details.
helperTextstring | undefined—Supporting text below the field.
errorMessagestring | undefined—Error feedback replacing helper text and marking the field invalid.
emptyMessagestring | undefined"No results found."Public Pimolu prop; see the source declaration for details.
requiredMessagestring | undefined"Select at least one option."Public Pimolu prop; see the source declaration for details.
size"xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined"md"Component size.
variant"primary" | "secondary" | "neutral" | "success" | "warning" | "danger" | undefined"neutral"Variant exposed by this component.
appearance"soft" | "outline" | "glass" | "filled" | undefined"outline"Visual treatment of the control or surface.
disabledboolean | undefinedfalsePublic Pimolu prop; see the source declaration for details.
requiredboolean | undefinedfalsePublic Pimolu prop; see the source declaration for details.
invalidboolean | undefinedfalseExplicit invalid state.
fullWidthboolean | undefinedfalseUse the available width of the parent.
classNamestring | undefined—Public Pimolu prop; see the source declaration for details.
inputClassNamestring | undefined—Public Pimolu prop; see the source declaration for details.
styleCSSProperties | undefined—Public Pimolu prop; see the source declaration for details.
aria-labelstring | undefined—Public Pimolu prop; see the source declaration for details.
aria-labelledbystring | undefined—Public Pimolu prop; see the source declaration for details.
aria-describedbystring | undefined—Public Pimolu prop; see the source declaration for details.
id

string | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

name

string | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

form

string | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

optionsRequired

readonly PimoluMultiSelectOption[]

No default extracted.

Public Pimolu prop; see the source declaration for details.

value

readonly string[] | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

defaultValue

readonly string[] | undefined

Default: []

Public Pimolu prop; see the source declaration for details.

onValueChange

((values: string[]) => void) | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

onQueryChange

((query: string) => void) | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

maxSelected

number | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

clearable

boolean | undefined

Default: true

Public Pimolu prop; see the source declaration for details.

label

string | undefined

No default extracted.

Visible label associated with the control.

placeholder

string | undefined

Default: "Search..."

Public Pimolu prop; see the source declaration for details.

helperText

string | undefined

No default extracted.

Supporting text below the field.

errorMessage

string | undefined

No default extracted.

Error feedback replacing helper text and marking the field invalid.

emptyMessage

string | undefined

Default: "No results found."

Public Pimolu prop; see the source declaration for details.

requiredMessage

string | undefined

Default: "Select at least one option."

Public Pimolu prop; see the source declaration for details.

size

"xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined

Default: "md"

Component size.

variant

"primary" | "secondary" | "neutral" | "success" | "warning" | "danger" | undefined

Default: "neutral"

Variant exposed by this component.

appearance

"soft" | "outline" | "glass" | "filled" | undefined

Default: "outline"

Visual treatment of the control or surface.

disabled

boolean | undefined

Default: false

Public Pimolu prop; see the source declaration for details.

required

boolean | undefined

Default: false

Public Pimolu prop; see the source declaration for details.

invalid

boolean | undefined

Default: false

Explicit invalid state.

fullWidth

boolean | undefined

Default: false

Use the available width of the parent.

className

string | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

inputClassName

string | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

style

CSSProperties | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

aria-label

string | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

aria-labelledby

string | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

aria-describedby

string | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

Accessibility

  • Name the field and check chip removal, clear-all, listbox navigation and disabled choices.
Read the accessibility guide →