startIcon
ReactNode
Default: null
<FormControl><InputLabel htmlFor="example-select-1">A select option</InputLabel><Selectaria-label="meep"id="example-select-1"><SelectOptionid="1-1"value="1">Lorem ipsum dolor sit</SelectOption><SelectOptionid="1-2"value="2">Item 2</SelectOption></Select></FormControl>
<FormControl><InputLabel htmlFor="example-select-2">A select option</InputLabel><Selectid="example-select-2"value="3"><SelectOptionid="2-1"value="1">Lorem ipsum dolor sit</SelectOption><SelectOptionid="2-2"value="2">Item 2</SelectOption><SelectOptionid="2-3"value="3">Item 3</SelectOption></Select></FormControl>
<FormControl><InputLabel htmlFor="example-select-3">A select option</InputLabel><Selectid="example-select-3"startIcon={<GlobeIcon />}><SelectOptionid="3-1"value="1">Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet</SelectOption><SelectOptionid="3-2"value="2">Item 2</SelectOption></Select></FormControl>
<FormControl><InputLabel htmlFor="example-select-4">A select option</InputLabel><Selectdisabledid="example-select-4"><SelectOptionid="4-1"value="1">Nope</SelectOption></Select></FormControl>
<FormControl><InputLabel htmlFor="example-select-5">A select option</InputLabel><Selectid="example-select-5"startIcon={<GlobeIcon />}variant="info"><SelectOptionid="5-1"value="1">Item 1</SelectOption></Select></FormControl>
<FormControl><InputLabel htmlFor="example-select-6">A select option</InputLabel><Selectid="example-select-6"invalid><SelectOptionid="6-1"value="1">Item 1</SelectOption><SelectOptionid="6-2"value="2">This is not a valid option</SelectOption></Select></FormControl>
<FormControl><InputLabel htmlFor="example-select-7">A select option</InputLabel><Selectid="example-select-7"success><SelectOptionid="7-1"value="1">Item 1</SelectOption><SelectOptionid="7-2"value="2">This was successfully submitted</SelectOption></Select></FormControl>
<FormControl><InputLabel htmlFor="example-select-8">A select option</InputLabel><Selectid="example-select-8"innerClassName="_1ekuxf40"><SelectOptionid="8-1"value="1">Lorem ipsum dolor sit</SelectOption><SelectOptionid="8-2"value="2">Item 2</SelectOption></Select></FormControl>
<FormControl><InputLabel htmlFor="example-select-9">A select option</InputLabel><Selectid="example-select-9"><SelectOptionid="9-1"value="1">Lorem ipsum dolor sit</SelectOption><SelectOptionid="9-2"value="2">Item 2</SelectOption></Select></FormControl>
startIcon
ReactNode
Default: null
variant
"default" | "info"
Default: "default"
invalid
boolean
Default: false
success
boolean
Default: false
innerClassName
string
This classname will be applied to the inner `<select>` element
innerMargin
boolean
This classname will be applied to the inner flex `<div>` element
Default: true
atoms
Applies permitted design system styles. See styling documentation for more.
atoms
Applies permitted design system styles. See styling documentation for more.