A minimalistic datepicker for React. Built with Tailwind & Framer Motion
- Copy the component to your own project
- Install dependencies:
yarn add framer-motion lucide-react
<Datepicker onChange={(date) => console.log(date)} />
Parameter | Type | Use |
---|---|---|
onChange | (date => void; |
Function that will trigger when the date is changed |