A masked overlay reveals the next theme in a clean expanding circle from the toggle origin.
Radial theme wipe
A masked overlay reveals the next theme in a clean expanding circle from the toggle origin.
Pixelated radial wipe
The next theme reveals outward from the toggle origin in square pixel cells.
PackageSourceEffect
Use it
2 waysInstall the package
- Run .
- Import
ui-den/styles.css once near your app root. - Wrap your app with
ThemeProvider and render ThemeToggle.
Copy the source
- Run .
- Import the generated CSS file from your target folder.
- Import
ThemeProvider and ThemeToggle from the generated files.
import { ThemeProvider, ThemeToggle } from "ui-den";
import "ui-den/styles.css";
export function App() {
return (
<ThemeProvider defaultTheme="system" transitionEffect="radial">
<ThemeToggle />
<YourApp />
</ThemeProvider>
);
}