Mohammad Shehadeh

Month Picker

Forms 1

About

4×3 month grid with year stepper, keyboard nav, min/max bounds, single or range mode.

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 * as React from "react";
import {
  MonthPicker,
  MonthPickerTrigger,
  MonthPickerContent,
} from "@/components/ui/month-picker";

export default function MonthPickerDemo() {
  const [value, setValue] = React.useState<
    { year: number; month: number } | undefined
  >(undefined);

  return (
    <div className="flex min-h-[400px] w-full items-center justify-center">
      <MonthPicker mode="single" value={value} onValueChange={setValue}>
        <MonthPickerTrigger className="w-56" />
        <MonthPickerContent />
      </MonthPicker>
    </div>
  );
}

Dependencies

More by Mohammad Shehadeh

View all
  • Feature Problem Cards

    Feature Problem Cards

    84
  • Feature Grid Spotlight Cards

    Feature Grid Spotlight Cards

    70
  • Dithered Shader CTA

    Dithered Shader CTA

    63
  • Ecommerce Category Page

    Ecommerce Category Page

    61
  • Split Login

    Split Login

    60
  • Comparison Table

    Comparison Table

    59
  • FAQ Two Column

    FAQ Two Column

    59
  • Comparison Section

    Comparison Section

    57

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 2

    Login 2

    7
  • Authentication Card

    Authentication Card

    47
  • Login 1

    Login 1

    52
  • Contact Card

    Contact Card

    1K
  • Login Form

    Login Form

    6
  • Form

    Form

    16
  • Book A Demo 3

    Book A Demo 3

    83