Argent

GlowButton

A metal button with a gold glow, for the one thing you want pressed.

import { GlowButton } from '@rajatweb/argent'

<GlowButton size="lg" pulse onClick={start}>Start a project</GlowButton>

Props

PropTypeDefaultWhat it does
disabledboolean
fullWidthbooleanFills the width of its container.
loadingbooleanShows a spinner and ignores presses, keeping focus where it is.
pulsebooleanBreathing glow. Stays still when the user prefers reduced motion.
size'sm' | 'md' | 'lg''md'
variant'solid' | 'outline''solid'

Accessibility

  • The pulse stops for reduced motion.

Do

  • Use one per page.

Don’t

  • Use it for ordinary actions.