GRADIENT BUTTON

When to Use

Example: purchase page (skeleton) + compact Add to cart (bottom-right)

  • High-impact, brand-level call-to-action such as "Shop Now" or "Get Started"
  • Hero sections, landing pages, or promotional banners where visual emphasis is needed
  • Limit to one Gradient Button per view to maintain visual hierarchy
  • Not suitable for secondary or tertiary actions — use standard Button instead

Usage Guidelines

DO

Use only for the most important brand-level CTAs on a page (e.g. "Shop Now", "Explore More"). Place at most one per view

Don’t

Don't place multiple Gradient Buttons on the same row. Don't use for secondary or low-priority actions

DO

Pair with a leading Star icon or trailing Arrow icon to guide user attention. Prefer full corner radius

Don’t

Don't modify the gradient colors (breaks brand consistency). Don't layer over dark backgrounds

Interaction Behavior

InteractionBehavior
Click / TouchTriggers associated action, opacity switches to Active state (0.8)
Hoveropacity transitions to 0.9 in 150ms ease
Keyboard Enter / SpaceTriggers click event
Keyboard TabFocus shows brand-pink focus ring
Disabledpointer-events: none, gray background, gradient disappears

Accessibility

RequirementDetails
Semantic roleUse native <button> element
Disabled stateUse disabled attribute
ContrastWhite text on gradient background contrast ≥ 4.5:1
Focus orderFollows DOM order, supports Tab navigation