Creatable Select

A select component that allows creating new options.

Creatable Select

Select or create an option

Dependencies

None

Installation

None

Props

NameTypeDefaultDescription
optionsOption[][]Array of options to display in the select.
valuestring''The currently selected value.
onChange(value: string) => void-Function to call when the selected value changes.
onCreateOption(label: string) => void-Function to call when a new option is created.
placeholderstring''Placeholder text to display when no option is selected.
Brought to life by Naseem Ansari – Building Experiences that Inspire