Star Border
A thin border with a point of light running around it. A button by default, any element with as.
import { StarBorder } from "pleate/effects/star-border";Buttons
Props
- as
Element to render.
ElementTypedefault "button"- color
Light color.
stringdefault accent- speed
Seconds per lap.
numberdefault 4- thickness
Border width (px).
numberdefault 1.5
Accessibility
- A real button or link with the usual focus ring.
- Reduced motion keeps the light still.