No wrapper needed

Nuxt UI

Nuxt UI's own colour mode components write to the colour mode, and nuxt-penumbra animates that write. Nothing here passes an origin or an effect: the circle still opens from your click.

  • Button

    UColorModeButton
    <UColorModeButton />
  • Switch

    UColorModeSwitch
    <UColorModeSwitch />
  • Select

    UColorModeSelect
    <UColorModeSelect />

Scoped on purpose

Tailwind and Nuxt UI load only for this page's layout, in cascade layers and without Tailwind's reset. The dashboard keeps its own look.

Sample data is invented. Theme switching by nuxt-penumbra.