Browse components

Modal

Dialog overlay for focused tasks. Use it for confirmations, short forms, and critical flows that should not lose context.

molecules 3 variants
Variants / states: smmdlg

Live example

Default usage you can copy and adapt.

Default

A modal with a title and a clear primary action.

Props

The props you are most likely to need, with types and defaults.

Props / API
NameTypeRequiredDefaultDescription
isOpenbooleanNofalseOpen state. Bindable.
titlestringNo—Dialog title.
descriptionstringNo—Text below the title, linked as the dialog's description.
size'sm' | 'md' | 'lg'NomdPanel width.
showClosebooleanNotrueShow the close button.