Skip to content

Month Picker

05/2026
Terminal window
pnpm add react-datepicker date-fns
npx skeci-ui add month-picker
import { 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)} />

Inline Month Picker

2026
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
PropTypeDefaultDescription
selectedDate | nullThe selected date.
onChange(date: Date | null) => voidCallback when the date changes.
disabledbooleanfalseWhether the month picker is disabled.
placeholderTextstring'Pick a month'Placeholder text for the input.
border'rough' | 'normal''rough'The border style of the input.
inlinebooleanfalseWhether to render the month picker inline.