ThemeToggle
A button that switches the site between light and dark mode, persisting the choice to localStorage and a cookie.
Installation
npx dafink-ui add theme-toggleDemo
Props
| Name | Type | Default | Description |
|---|---|---|---|
| className | string | '' | Additional classes on the root button. |