Dev Design Library

Theme Switch

ThemeSwitch component is a dropdown menu that allows users to switch between different theme modes.

Theme Switch preview
Library
Lobe UI
Framework
React
Type
component
License
MIT
Install
pnpm add @lobehub/ui
Files
  • src/ThemeSwitch/index.ts
  • src/ThemeSwitch/ThemeSwitch.tsx
  • src/ThemeSwitch/type.ts
  • src/base-ui/ActionIcon/index.ts
  • src/types/index.ts
  • src/types/customStylish.ts
  • src/types/customToken.ts
  • src/types/trigger.ts
Source
https://github.com/lobehub/lobe-ui

Categories

More from Lobe UI