VanillaReactLight & dark202 views
An outlined button with a gradient border that sweeps diagonally from corner to corner on hover using a single clip-path transition and glow box-shadow — pure CSS, no JavaScript required for the effect.
Button component
An outlined button with a gradient border that sweeps diagonally from corner to corner on hover using a single clip-path transition and glow box-shadow — pure CSS, no JavaScript required for the effect.
::before layer::after as the gradient reveals underneathbody.dark classaria-label on the button and keyboard activation<button> has aria-label describing its actionrole="switch" with aria-checked toggled by JSEnter and Space keys:focus-visible with --ring outline on all interactive elementsprefers-reduced-motion: reduce collapses all animations to 0.01ms-webkit-tap-highlight-color: transparent prevents double tap flashOpen Spark Button in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the button is regenerated against your tokens. Take the HTML, CSS, JS and React source with you, or pull it into your repo from Claude Code, Cursor or Codex over MCP.
300+ production-ready components and Atheros AI models. Every paid plan includes access to the whole Atheros — AI Builder and Learning.
Starting at $9.9 per month, billed annually