easeUI

Theme Toggle

Light and dark switch that reveals the new theme as a circle growing from the center of the screen or from the button itself.

Appearance

Installation

$ bunx --bun shadcn add @easeui/theme-toggle

API reference

ComponentPropTypeDefaultDescription
useThemeTogglevariant?"circle" | "ripple"circle-
ThemeTogglevariant?"circle" | "ripple"circleWhere the new theme spreads from. Default "circle".
ThemeToggleiconClassName?string--