An open API service indexing awesome lists of open source software.

https://github.com/itsabdessalam/react-theme-switcher

🌓 React theme switcher component
https://github.com/itsabdessalam/react-theme-switcher

color component dark light mode react switcher theme toggle

Last synced: 9 months ago
JSON representation

🌓 React theme switcher component

Awesome Lists containing this project

README

          

# React theme switcher component

> A react theme switcher component

## Installation

```bash
# using yarn
yarn add react-theme-switcher

# using npm
npm install react-theme-switcher
```

## Usage

By default theme switcher is applied to body and colors are already setted

```js
import React from "react";
import ThemeSwitcher from "react-theme-switcher";

function App() {
return (




React theme switcher




);
}

export default App;
```

Props you can pass to the component:

```js

```

## Demo

Preview it on CodeSandbox

## Author

[Abdessalam BENHARIRA](https://github.com/abdessalamb98)