GitHub

Dialog

A window overlaid on either the primary window or another dialog window, rendering the content underneath inert.

Preview

This is a sample text in dialog.

API Reference

proptypedefaultdescription
packagetyping.Literal['flect']flectNone
class_nametyping.Optional[str]NoneSpecifies the Tailwind CSS classes for the component.
childrenflect.components.AnyComponents[]The children of the component.
title<class 'str'>NoneSpecifies the dialog's title.
descriptiontyping.Optional[str]NoneSpecifies the dialog's description.
default_open<class 'bool'>FalseSpecifies whether the dialog is open by default.
triggertyping.Optional[flect.actions.DispatchEvent]NoneSpecifies the event that triggers the dialog.