N
meta theme-toggle@2.0.0

Theme Toggle

Light / dark / system switcher — `<noundry-button>` + Alpine + localStorage (Studio helper partial).

Install

bash
ndui add theme-toggle

Source files land in Components/ThemeToggle/, namespace-rewritten to your project's root namespace. The component CSS is wired into wwwroot/css/app.css automatically.

Dependencies

NuGet packages
  • Noundry.UI

See it in action

Every registered variant, state, and interaction pattern is demonstrated at the live showcase:

Related

Browse all meta · CLI reference · reactivity patterns.