Cool Toggles with framer motion animations that you can copy-paste into your apps.
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 }
Part of Serenity UI — browse the full library on 21st.dev.