A button with a shimmering light which travels around the perimeter.
1import { ShimmerButton } from "@/components/magicui/shimmer-button";
2
3export function ShimmerButtonDemo() {
4 return (
5 <ShimmerButton className="shadow-2xl">
6 <span className="whitespace-pre-wrap text-center text-sm font-medium leading-none tracking-tight text-white dark:from-white dark:to-slate-900/10 lg:text-lg">
7 Shimmer Button
8 </span>
9 </ShimmerButton>
10 );
11}