---
title: "Discussion on \"How to Add Dark Mode to a React Application\" | Hashnode"
description: "Discussion on \"How to Add Dark Mode to a React Application\". A step-by-step walkthrough for adding the ability to toggle themes to your React application using React Context and Styled Components."
url: "https://hashnode.com/posts/how-to-add-dark-mode-to-a-react-application/61ad7eb9b6bca85a26d3eec0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Add Dark Mode to a React Application](https://blog.theandrewgrass.com/how-to-add-dark-mode-to-a-react-application?utm_source=hashnode&utm_medium=feed)

A step-by-step walkthrough for adding the ability to toggle themes to your React application using React Context and Styled Components.

Dec 6, 2021 · 8 min read · blog.theandrewgrass.com  
Updated Dec 21, 2021  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#styled-components](https://hashnode.com/tag/styled-components)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#ui](https://hashnode.com/tag/ui)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Andrew Grass](https://hashnode.com/@theandrewgrass)

@theandrewgrass · Ontario, Canada

  
[View profile](https://hashnode.com/@theandrewgrass)

Full Stack Web Developer

I am a full stack web developer looking to learn new things and help teach others.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
