About
A 12-month grid picker with year navigation for selecting a month, usable as controlled or uncontrolled input.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Month Picker to your project and fits it to your theme.
Code
How Month Picker is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { MonthPicker } from "@/components/ui/month-picker";
export default function MonthPickerDemo() {
return (
<div className="flex min-h-screen w-full items-center justify-center bg-background p-8">
<MonthPicker
defaultValue={new Date().getMonth()}
onValueChange={(v) => {
console.log("month changed", v);
}}
/>
</div>
);
}
















