Month Picker
Preview
Section titled “Preview”05/2026
Installation
Section titled “Installation”pnpm add react-datepicker date-fnsnpx skeci-ui add month-pickerimport { MonthPicker } from '@/components/ui/month-picker';import { useState } from 'react';
const [date, setDate] = useState<Date | null>(new Date());
<MonthPicker selected={date} onChange={(date) => setDate(date)} />Variants
Section titled “Variants”Inline Month Picker
2026
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
| Prop | Type | Default | Description |
|---|---|---|---|
selected | Date | null | — | The selected date. |
onChange | (date: Date | null) => void | — | Callback when the date changes. |
disabled | boolean | false | Whether the month picker is disabled. |
placeholderText | string | 'Pick a month' | Placeholder text for the input. |
border | 'rough' | 'normal' | 'rough' | The border style of the input. |
inline | boolean | false | Whether to render the month picker inline. |