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';
Props of the native component are also available.
ref
is forwarded to the root element.To learn how to customize the slot, check out the Overriding component structure guide.
These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.
OptionGroup API
Import
import { OptionGroup } from '@mui/base/OptionGroup';
// or
import { OptionGroup } from '@mui/base';
Props of the native component are also available.
ref
is forwarded to the root element.To learn how to customize the slot, check out the Overriding component structure guide.
These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.
Select API
Import
import { Select } from '@mui/base/Select';
// or
import { Select } from '@mui/base';
Props of the native component are also available.
ref
is forwarded to the root element.To learn how to customize the slot, check out the Overriding component structure guide.
These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.