Skip to content
+

Select

The Select components let you create lists of options for users to choose from.

Option API

Import

import { Option } from '@mui/base/Option';
// or
import { Option } from '@mui/base';
Learn about the difference by reading this guide on minimizing bundle size.

Props

Props of the native component are also available.

valueRequired

disabled

label

slotProps

slots


The ref is forwarded to the root element.

Slots

To learn how to customize the slot, check out the Overriding component structure guide.

root

CSS classes

These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.

.Mui-disabledSTATE

.Mui-selectedSTATE

.MuiOption-highlighted

OptionGroup API

Import

import { OptionGroup } from '@mui/base/OptionGroup';
// or
import { OptionGroup } from '@mui/base';
Learn about the difference by reading this guide on minimizing bundle size.

Props

Props of the native component are also available.

disabled

label

slotProps

slots


The ref is forwarded to the root element.

Slots

To learn how to customize the slot, check out the Overriding component structure guide.

root

label

list

CSS classes

These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.

.Mui-disabledSTATE

Select API

Import

import { Select } from '@mui/base/Select';
// or
import { Select } from '@mui/base';
Learn about the difference by reading this guide on minimizing bundle size.

Props

Props of the native component are also available.

areOptionsEqual

autoFocus

defaultListboxOpen

defaultValue

disabled

getOptionAsString

getSerializedValue

listboxId

listboxOpen

multiple

name

onChange

onListboxOpenChange

placeholder

renderValue

required

slotProps

slots

value


The ref is forwarded to the root element.

Slots

To learn how to customize the slot, check out the Overriding component structure guide.

root

listbox

popper

CSS classes

These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.

.Mui-activeSTATE

.Mui-disabledSTATE

.Mui-expandedSTATE

.Mui-focusVisibleSTATE