Skip to content

PickersSectionList API

API reference docs for the React PickersSectionList component. Learn about the props, CSS, and other APIs of this exported module.

Component demos

Import

import { PickersSectionList } from '@mui/x-date-pickers/PickersSectionList';
// or
import { PickersSectionList } from '@mui/x-date-pickers';
// or
import { PickersSectionList } from '@mui/x-date-pickers-pro';
Learn about the difference by reading this guide on minimizing bundle size.

Props

contentEditableRequired

If true, the whole element is editable. Useful when all the sections are selected.

Type:bool


elementsRequired

The elements to render. Each element contains the prop to edit a section of the value.

Type:Array<{ after: object, before: object, container: object, content: object }>


classes

Override or extend the styles applied to the component.

See CSS API below for more details.

Type:object


slotProps

The props used for each component slot.

Type:object


slots

Overridable component slots.

Type:object


The component cannot hold a ref.

CSS

The following class names are useful for styling with CSS (the state classes are marked).
To learn more, visit the component customization page.

.MuiPickersSectionList-root

Styles applied to the root element.

Rule name:root


.MuiPickersSectionList-section

Styles applied to the container of a section.

Rule name:section


.MuiPickersSectionList-sectionContent

Styles applied to the content of a section.

Rule name:sectionContent



You can override the style of the component using one of these customization options:

Slots

root

section

sectionContent

sectionSeparator