Button
Versatile, accessible buttons with variants, loading states, and micro-interactions.
01 Examples
States Matrix
02 Mint Micro-Interactions
Mint (Micro-interactions) adds subtle motion feedback to any
component. Each effect is triggered on hover or click and automatically respects prefers-reduced-motion.
Hover Effects
Click Effects
Combined Effects
Configured Effects
03 Customization
Gradient CTA
Pill & Icon-only
Neon Outline
Fully Custom (unstyled)
04 Accessibility
Built-in ARIA
Automatically manages aria-pressed for toggle
buttons, aria-busy during loading, and aria-disabled when disabled. Focus indication uses focus-visible: so mouse users see no ring.
State Semantics
active = persistent selection (a radio-style
segment, the current sort column, the selected tool). Set this when the button represents
an enduring chosen state. pressed = transient toggle (bold/italic in a
toolbar, mute/unmute). Set this on a button that flips between two complementary states. loading = busy; suppresses interaction without removing
focus.
Keyboard
Tab to focus, Enter / Space to activate. Loading state disables interaction automatically while keeping the button focusable.
Reduced Motion
All Mint effects are suppressed when the user enables prefers-reduced-motion. Transitions, transforms,
and ripple animations are removed entirely.
05 API Reference
No matching properties |