Skip to content

Theme Toggler

A theme toggle button with animated transitions using clip-path masks. It supports various shapes and can expand from the center or button position. Use it to switch between light and dark themes with visual effects.

byMagic UI

Loading preview

Installation

terminal
pnpm dlx layro-cli add @magicuidesign/theme-toggler

New project? Start with init. Writes third-party code and installs packages with scripts off.

Code

Demo

Sign in to see the code

Free, with GitHub, Google or email. The install command above works without an account.

Sign in

Versions

  1. 1.0.0 · current

    Nov 2, 2026

    First release.

Similar components