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.

See Slots API below for more details.

Type:object


The component cannot hold a ref.

Slots

root

Class name: .MuiPickersSectionList-root


section

Class name: .MuiPickersSectionList-section


sectionSeparator

sectionContent

Class name: .MuiPickersSectionList-sectionContent