# Month Picker

> A dropdown form field for picking a single calendar month (stored as a YYYY-MM string), with a year-browsable month grid, an optional clear action, and a hook for disabling specific months like future ones.

- Author: [haassiib](https://21st.dev/@haassiib)
- Library: haassiib
- License: MIT
- Tags: Form, Calendar, Date Picker, Dropdown
- npm dependencies: lucide-react
- Live preview: https://21st.dev/@haassiib/components/month-picker

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/haassiib/month-picker?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/form.md
