Any good datepicker libraries?

I don't know what to use for picking dates. Specifically DOB right now.
4 Replies
ahmadaccino
ahmadaccino14mo ago
A lot of people like shadcn so heres one: https://ui.shadcn.com/docs/components/calendar. This one is purely just a dedicated datepicker package and is not bad: https://react-tailwindcss-datepicker.vercel.app
Joshowaaah!
Joshowaaah!14mo ago
thanks man i was trying to customize react-datepicker. It's okay.
Yiannis
Yiannis14mo ago
I made my own after following this guide https://youtu.be/9ySmMd5Cjc0 It’s not about a date picker, but a calendar and you get familiar with date fns and after that I found it relatively easy to make one
Sam Selikoff
YouTube
Building an Interactive Calendar with Tailwind UI, React and date-fns
Let's take a predesigned calendar from Tailwind UI and make it functional using React and the fantastic date-fns library! 💻 Calendar demo: https://stackblitz.com/github/samselikoff/2022-05-11-tailwind-ui-interactive-calendar?file=pages%2Findex.jsx 🧑‍💻 Diff from this video: https://github.com/samselikoff/2022-05-11-tailwind-ui-interactive-calen...
djcmurphy
djcmurphy14mo ago
Erm html5 datepicker https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date It's pretty well maintained and I think it's feature complete at this point. 😜
- HTML: HyperText Markup Language | MDN
elements of type="date" create input fields that let the user enter a date, either with a textbox that validates the input or a special date picker interface.