Animated checkbox with spring transitions and strike-through text effect.
import { AnimatedCheckbox } from "@/components/ui/animated-checkbox" export default function AnimatedCheckboxDemo() { return ( <div className="flex flex-col items-center justify-center min-h-[400px] gap-4 p-8"> <AnimatedCheckbox title="Buy groceries" /> <AnimatedCheckbox title="Walk the dog" defaultChecked /> <AnimatedCheckbox title="Read a book" /> </div> ) }
Part of Spell — browse the full library on 21st.dev.