⚠️ Warning! Modal Layout is experimental and may be changed in the future without notice.
A button that triggers a modal with the specified layout components.
Note: We do not support the use of forms inside a modal.
| Property | Type | Required | Description |
|---|---|---|---|
content | ModalLayout.Content | Yes | Represents the modal content itself |
control | String | No | Specify a particular control to use to represent the layout. If the control is unknown, it will be ignored. |
margin | Size | No | The vertical margin to apply after this component. Defaults to md. |
trigger | ModalLayout.Trigger | Yes | Represents the trigger for the modal content |
type | String | Yes | It must be modal. |
| Property | Type | Required | Description |
|---|---|---|---|
title | String | Yes | The visible title for the trigger |
| Property | Type | Required | Description |
|---|---|---|---|
components | Array<Layout> | Yes | The layout components to appear when triggered |
| String | No | A user-facing title for the modal content block
⚠️ Experimental - This may be changed in the future without notice. |