Date Picker - React Hook Form
A Date Picker component that uses react-hook-form Controller.
Installation
This component is dependent on date-picker and floating-button components. Please add that component first before adding this one.
Install the following dependencies:
1. Copy and paste the following code into your project.
2. Update your calendar
component after installing shadcn date-picker
component.
3. Add this to your @/components/ui/hook-form/index.tsx
file for easy import.
Shadcn
This date-picker component is built on top of the excellent foundation provided by Shadcn/UI.
For a deeper dive into the core concepts and building blocks, check out the original Shadcn date-picker component.