Form actions
Align primary and secondary actions responsively.
Preview
Review the values before saving this configuration.
Example
<.form_actions><.button>Cancel</.button><.button color={:primary}>Save</.button></.form_actions>
API contract
form_actions/1 uses declared Phoenix attributes and slots. This table is generated from the compiled component metadata.
| Attribute | Type | Required | Default | Accepted values |
|---|---|---|---|---|
class |
:any |
No | nil |
Any value matching the declared type |
rest |
:global |
No | — |
Any value matching the declared type |
| Slot | Required | Slot attributes |
|---|---|---|
inner_block |
Yes | No slot attributes |
States and behavior
Default and caller-supplied variants preserve semantic daisyUI colors and additive classes.
Keyboard and accessibility
The component adds no non-native keyboard model. Slotted interactive content remains responsible for its own accessible name.