A dark pill with a thin bright beam that travels around its border on a loop, like a comet on a track; on hover the beam speeds up and widens, and the fill lifts a shade. Built from one rotating conic gradient behind a masked border, no SVG, no script.
A `@property --beam-angle` registered as an `<angle>` lets a conic gradient rotate smoothly in CSS alone. The gradient is painted on a `::before` that sits 1 px larger than the button; the button's own background covers the inside, so only the border ring shows the beam. Hover switches the animation duration from 4 s to 1.4 s and the beam arc from 12 % to 24 %.
From prompt to a block in your page.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.