Shimmer Button
A button with a shimmering light which travels around the perimeter.
Installation
bun x shadcn-svelte@latest add @ori/shimmer-button Usage
import {ShimmerButton} from '$lib/components/shimmer-button'; <ShimmerButton>Shimmer Button</ShimmerButton> Props
| Prop | Type | Default | Description |
|---|---|---|---|
background | string | rgba(0,0,0,1) | The background of the button |
className | string | "" | The classes of the button |
children | any | undefined | The children of the button |