Back to Components
Components

Date Picker

Calendar based date selection with month and year navigation.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/date-picker.tsx

Installation

Using shadcn CLI

npx shadcn add date-picker --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge