Grab the code for this component with free account
Every free component's full source, ready to copy or download, plus 30 monthly AI credits for Atheros AI routing to make it yours.
Button component
A press button with a sharp-cornered accent fill, a 2px border, and a hard offset shadow that collapses as the button physically presses down into the page on click — powered by GPU-composited `transform: translate()` transitions.
0.25rem 0.25rem 0) replaces soft elevation — the button reads as a physical block resting on the page:active: the button translates by the exact shadow offset while the shadow collapses to zero, so it appears to sink into the pagebody.dark class — ink flips to cool off-white, the fill lifts to periwinkle, all via CSS custom propertiescurrentColor so it always matches the labelaria-label matches visible text "Add appointment"aria-hidden="true" so the accessible name stays cleanrole="switch" with aria-checked toggled by toggleTheme()keydown listener:focus-visible with --ring outline and 2px offset on all interactive elementsprefers-reduced-motion: reduce disables all transitions and animationsOpen Ink Press 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.

A gradient button with a diagonal shine sweep animation that travels across the surface on hover, powered by GPU-composited `transform: translateX()` transitions — design-system agnostic.

A pill-shaped button whose fill wipes in from the left edge: an overlay layer scales from scaleX(0) to scaleX(1) on hover and on keyboard focus, while the trailing icon chip inverts to the accent colour.

A gradient accent circle with a contrasting chevron arrow that expands into a full pill on hover, sweeping under the label — a faithful port of the original circle-expand button, animated with GPU-friendly `clip-path` + `transform: scaleX()` instead of a width transition.

A 3D card-flip button that rotates on hover to reveal a confirmation state using CSS perspective and `rotateY(180deg)` transform — fully design-system agnostic.

A pill button with a primary-color gradient circle badge that inverts on hover with a diagonal arrow slide animation — pure CSS transitions, no keyframes required.

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.
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
