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
| Prop | Type | Default | What it does |
|---|---|---|---|
disabled | boolean | ||
fullWidth | boolean | Fills the width of its container. | |
loading | boolean | Shows a spinner and ignores presses, keeping focus where it is. | |
pulse | boolean | Breathing 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.