Components
Starting preview...
A button with a shimmering light which travels around the perimeter.
npx shadcn@latest add https://21st.dev/r/dillionverma/shimmer-buttonimport { ShimmerButton } from "@/components/ui/shimmer-button"
function ShimmerButtonDemo() {
return (
<div className="z-10 flex min-h-64 items-center justify-center">
<ShimmerButton className="shadow-2xl">
<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">
Shimmer Button
</span>
</ShimmerButton>
</div>
);
}
export default { ShimmerButtonDemo };