Skip to content
Inputs & Forms

MonthPicker

client37.25 kB
@stellaria/nebula-webMonthPickerProps

Preview

Props

14
PropTypeDefault

className

string

color

ColorExtended"primary"

defaultValue

string""

disabled

booleanfalse

field

NebulaField<string>

label

ReactNode

labels

PeriodPickerLabels

locale

string

maxValue

string""

minValue

string""

onChange

((value: string) => void)

size

Size"md"

value

string

variant

CalendarVariant"filled"

Slot props

1

Each one spreads over an inner element, so you can restyle a region without forking the component.

PropTypeDefault

cellProps

Every cell in the grid. It spreads over ALL of them: the component generates them — the twelve months of the visible year, or the page of years — not composition; `minValue` and `maxValue` only decide which end up disabled. It is a `div` with `role="option"`, so it is typed as a `div`.

BoxSlotProps

Also accepts

On top of its own props, this component forwards these groups.

Style props · 127