Primary Action Button
A production-scale, light + dark Primary Action Button component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add primary-action-buttonUsage
import { PrimaryActionButton } from "@lerpa/ui";
<PrimaryActionButton />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | |
| variant | ButtonVariant | — | |
| size | ButtonSize | — | |
| loading | boolean | — | |
| disabled | boolean | — | |
| icon | string | — | |
| accent | string | — | |
| onClick | () => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.