DEV Community

Malik Idrees
Malik Idrees

Posted on • Edited on

Responsive sidebar using React and Tailwind with dark mode and react-router

I was searching for a simple layout with responsive sidebar and support for dark mode built with react and tailwind. And I decided to create one myself.

Supports light and dark mode
Responsive Side Bar
Mobile Menu
Live Website

No third party libraries used!

Feel free to contribute and extend it in any suitable way :)

GitHub logo idrsdev / react-sidebar-tailwind-darkmode

Responsive sidebar built with React and Tailwind. Support for dark mode, react-router and Mobile Menu. Feel free to contribute⭐

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you…

Connect with me :)
LinkedIn
Fiverr: imidrees

Top comments (1)

Collapse
 
nahid570 profile image
Nahid Faraji

What about when you scroll the contents?