Preview
SplitButton combines a native primary action with a Menu whose alternatives require the client runtime. This server-rendered page does not imitate client behavior. Open the live playground.
Usage
SplitButton usage<SplitButton primaryLabel="Deploy" menuLabel="Other deploy actions">{items}</SplitButton>API
SplitButton APISplitButtonProps
| prop | type | notes |
|---|---|---|
| primaryLabel | string | |
| menuLabel | string | |
| children | RemixNode | |
| type? | 'button' | 'submit' | 'reset' | |
| name? | string | |
| value? | string | |
| form? | string | |
| formAction? | string | |
| formMethod? | string | |
| formEncType? | string | |
| formNoValidate? | boolean | |
| formTarget? | string | |
| disabled? | boolean | |
| pending? | boolean | |
| pendingLabel? | RemixNode | |
| variant? | Exclude<BtnVariant, 'quiet'> | |
| size? | BtnSize | |
| mix? | MixInput |