`): `role="group"`.
The year and month controls are `WheelPicker` children. See [WheelPicker](/docs/wheel-picker) for each wheel's ARIA attributes and keyboard behavior.
## Exports
### Types
```ts
interface MonthPickerProps {
value?: Temporal.PlainYearMonth; // bindable; current year-month (Temporal.Now)
min?: Temporal.PlainYearMonth; // lower bound (value.year - 100, month 1)
max?: Temporal.PlainYearMonth; // upper bound (value.year + 100, month 12)
order?: ("year" | "month")[]; // (["year","month"])
locale?: string;
monthLabel?: (month: number) => string;
yearLabel?: (year: number) => string;
left?: Snippet<[string]>; // Snippet<[variant]>
middle?: Snippet<[string]>; // Snippet<[variant]>
right?: Snippet<[string]>; // Snippet<[variant]>
year?: Omit
;
month?: Omit;
styling?: SVSClass;
variant?: SVSVariant; // (VARIANT.NEUTRAL)
}
type MonthPickerReqdProps = never;
type MonthPickerBindProps = "value";
```
### Others
No additional exports are available.
## Examples
The example code uses Tailwind CSS along with `SVSClass`.
### Basic
**Code**
```svelte src=MonthPickerBasic.svelte
```
### With Interactive Variant
**Code**
```svelte src=MonthPickerPract.svelte
{#snippet left()}{/snippet}
{value?.toString()}
```