Split Action Button
A production-scale, light + dark Split Action Button component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add split-action-buttonUsage
import { SplitActionButton } from "@lerpa/ui";
<SplitActionButton />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| primaryLabel | string | — | |
| actions | SplitAction[] | — | |
| accent | string | — | |
| onPrimary | () => void | — | |
| onSelect | (id: string) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.