For the complete documentation index, see llms.txt. This page is also available as Markdown.

Modal

ContentKit modal component

<modal>...</modal>
Props
Type
Description

children*

Array<Block> | Array<Inline>

Modal content.

title

string

Modal title.

subtitle

string

Modal subtitle.

size

'medium' | 'xlarge' | 'fullscreen'

Modal size.

returnValue

object

Data returned on close.

submit

Button

Submit button.

Open it with @ui.modal.open, then dispatch @ui.modal.close from the modal. See Actions.

Last updated

Was this helpful?