V Vaylan UI
Forms

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.

AttributeTypeRequiredDefaultAccepted values
class :any No nil Any value matching the declared type
rest :global No Any value matching the declared type
SlotRequiredSlot 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