Allow users to select which action to perform from a list of options.
A button action. Only the action whose `value` matches the currently selected value is rendered.
Wraps the dropdown primitive and binds its value to the split button root state.
| Prop | Type | Default |
|---|---|---|
open? $bindable | boolean | false |
children? | Snippet | - |
The button that opens the dropdown of available actions.
| Prop | Type | Default |
|---|---|---|
ref? $bindable | HTMLElement | null |
children? | Snippet | - |
The floating container that holds the dropdown actions.
| Prop | Type | Default |
|---|---|---|
ref? $bindable | HTMLElement | null |
children? | Snippet | - |
An option in the dropdown. Selecting it updates the active action.
| Prop | Type | Default |
|---|---|---|
value | string | - |
children? | Snippet | - |