Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

msnegurski/tailwind-react-datepicker

Repository files navigation

Why this exists

This is how you can make datepicker in React with react-datepicker and style this in Tailwind.

By the time of making this, datepicker for Headless UI didn't exist, and there were no docs on any popular react datepicker library about how to make it work with Tailwind.

As a result I spent fuckton of time inspecting classes in Chrome devtools and styling them in Tailwind manually. I think I made a decent job and hope it saves someone some time.

This is not a package, just some code for you to get idea how to do it in your project.

About

React-datepicker styled with Tailwind CSS. Not a package.

Topics

Resources

Readme

Stars

Watchers

Forks

Contributors