react-aria-modal demo

Return to the repository

When a modal is active, you should notice the following:

demo one

This modal

demo two

This modal

demo three

This modal

demo four

This modal's active/inactive state is controlled with the mounted prop instead of mounting and unmounting.

demo five

This modal uses some custom classes and special onEnter and onExit functions to enable nice transitions.

demo six

This modal renders into a specified element instead of into a new one at the bottom of <body>, and uses the underlayStyle prop to customize the underlay.

Return to the repository