A button like component to toggle between light and dark modes.
You can play around with a Ui.DarkModeToggle below using the controls.
Ui.DarkModeToggle
<Ui.DarkModeToggle size={Ui.Size.Px(16)}/>
The size of the component can be set with the size property.
size
<> <Ui.DarkModeToggle size={Ui.Size.Px(12)}/> <Ui.DarkModeToggle size={Ui.Size.Px(16)}/> <Ui.DarkModeToggle size={Ui.Size.Px(20)}/></>
Mint UI is a design system and component library for building websites, web and desktop applications.