A shadcn-style presence utility built with Ark UI primitives.

Presence keeps exit state visible.

Toggle the panel to preview enter and exit transitions without wiring a full overlay component.

Installation

npx shadcn@latest add @ark-cn/presence

Usage

import { Presence } from "@/components/ui/presence"

Examples

Default

Presence keeps exit state visible.

Toggle the panel to preview enter and exit transitions without wiring a full overlay component.

API reference

This utility mirrors the upstream Ark UI primitive.

See the ARK UI documentation for the full API.