A border that moves around the container. Perfect for making your buttons stand out.
"use client"; import React from "react"; import { Button } from "@/components/ui/moving-border"; export function MovingBorderDemo() { return ( <div> <Button borderRadius="1.75rem" className="bg-white dark:bg-slate-900 text-black dark:text-white border-neutral-200 dark:border-slate-800" > Borders are cool </Button> </div> ); }
Part of Aceternity UI — browse the full library on 21st.dev.