MUI Extended UI Components

Theme Mode Switch


A Switch Component to toggle theme mode

Usage

import { ThemeModeSwitch } from "mui-extended"; const themeModeSwitch = <ThemeModeSwitch />;

Features

  • Saves the user preference in LocalStorage
  • Default Mode is light until the preferense is read from localStorage
  • if localStorage is null, preference is loaded from System preference
Demo
Does this page need improvements?
Edit This Page in GitHub
Did this page help you?
Provide feedback in the GitHub Discussion Page
Need More help?

Write an email to opensource@sodaru.com