How to implement a dark to light mode feature in your React/Sass project

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Light-Dark-Theme-Starter-Code

    This is the starter code for a demo app showing people how to add light/dark theme toggle using React and SCSS

  • use-dark-mode

    A custom React Hook to help you implement a "dark mode" component.

    We will be using an npm package called use-dark-mode which is a custom hook used to implement the toggle functionality between light and dark mode.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts