Skip to main content
ALEXY LINK

Button 03

A premium magnetic CTA with restrained pointer-responsive movement, keyboard-safe interaction, and reduced-motion support.

Requirements

HTML, CSS, JavaScript

Dependencies

None

Usage

Copy index.html, styles.css and script.js into your project.

Typography: Inter, with a system sans-serif fallback.

About Button 03

Button 03 is a button component in the Button Components collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated September 1, 2026.

  • button
  • cta
  • buttons
  • magnetic
  • pointer

What the code includes

HTML + CSS + JavaScript

3 files: index.html, styles.css, script.js

  • Behavior is handled in script.js.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive CSS breakpoints at 640px.

React + TypeScript + Tailwind CSS

3 files: Button03.jsx, Button03.types.ts, Button03.tailwind.css

  • Configurable through 3 props: variant, className, children.
  • Uses React hooks: useEffect, useRef.
  • HTML elements used: button.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive Tailwind breakpoints used: sm.
View all Button Components (10)