About
Cool Toggles with framer motion animations that you can copy-paste into your apps.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Theme Toggle to your project and fits it to your theme.
Code
How Theme Toggle is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ThemeToggle } from "@/components/ui/theme-toggle"
function DefaultToggle() {
return (
<div className="space-y-2 text-center">
<div className="flex justify-center">
<ThemeToggle />
</div>
</div>
)
}
export { DefaultToggle }














