Modal

A modal blocks all user interaction and displays a message to the user or asks for feedback using a form.

<Modal title='Edit User'>
  <Children/>
</Modal>
PropDescriptionRequiredValue

animation

animation type

optional

slide (default), fade or none

title

title of the modal

required

string

You can trigger a modal from anywhere in your application using the AppContext.

context.modal.show()
context.modal.hide()

Last updated