Theme Toggle Button

A sleek, animated light and dark mode toggle featuring a smooth sliding circular knob, interactive sun and moon icons, and elegant color transitions. Designed with a minimalist pill-shaped interface, customizable colors, spring animations, responsive sizing, and optional website theme synchronization. Available for React and Framer.

Category: Buttons & Badges · Tier: Free

  • Motion
  • React
  • Tailwind
  • button
  • theme

Live Interactive Preview & Specs

Inspect the responsive live preview directly in your browser. Sign in to copy the full React TSX source code, Tailwind CSS styling, AI prompt, or 1-click Framer Remix link.

Related Components