An animated upvote and downvote counter with smoothly transitioning numbers and color feedback on the active vote.
import UpvoteDownvote from "@/components/ui/motion-number-upvotes"; export default function Demo() { return ( <div className="flex min-h-[300px] w-full items-center justify-center bg-background p-8"> <UpvoteDownvote /> </div> ); }