Skip to content
GitHub

Presence

Animate components on mount and unmount.

Installation

Usage

Lazy

Setting lazyMount and unmountOnExit to true lazy mounts and unmounts the content.

It will remove the element from the DOM when it is not present.

State

Presence automatically manages the attribute data-state to open and closed. This enables styling and animations based on visibility state.

API Reference

Presence


For a complete list of props, see the Ark UI documentation.