jatui

ThemeSelector

DaisyUI theme switcher with 30+ themes and animated transitions

The switcher in the docs header drives this whole site. The instances below are standalone — each manages its own theme state.

Standalone

Current: dark

Drop-up variant

Opens upward (for footers / bottom navs)

Props

PropTypeDefaultDescription
dropUpbooleanfalseOpen dropdown upward
themesstring[]32 DaisyUI themesAvailable themes
defaultThemestring"light"Initial theme
storageKeystring"theme"localStorage key
onThemeChange(theme: string) => void-Theme change callback