Components
Presence

Presence

The Presence is a practical and versatile component that helps control the rendering and unmounting of your content based on a given state. It's designed to work seamlessly with animations, ensuring smooth transitions and full visibility of animations before any changes in presence are made.

API reference docs for the component. Learn about the props, CSS, and other APIs of this exported module.

PresenceProps

lazyMount

boolean

Whether to enable lazy mounting. Defaults to `false`.

onExitComplete

() => void

present

boolean

unmountOnExit

boolean

Whether to unmount on exit. Defaults to `false`.