Introducing Magic UI Pro - 50+ blocks and templates to build beautiful landing pages in minutes.

Command Palette

Search for a command to run...

Docs
Theme Toggler

Theme Toggler

An Animated theme toggler component, fully customizable using Tailwind CSS.

Installation

Usage

import { AnimatedThemeToggler } from "@/components/magicui/animated-theme-toggler";
<AnimatedThemeToggler />

Props

PropTypeDefaultDescription
classNameString" "Additional classes to be added to the component

Credits