Dev Design Library

Presence

MotionPresence keeps keyed children mounted for their exits. MotionSurface adds coordinated lifecycle states to an existing primitive.

Presence preview
Library
Cojeev UI
Framework
React
Type
ui
License
MIT
Dependencies
@radix-ui/react-slot, motion
Install
npx shadcn@latest add https://cojeev.com/ui/r/presence.json
Files
  • registry/cojeev/ui/presence.tsx
  • registry/cojeev/styles/presence.css
  • registry/cojeev/lib/utils.ts
  • registry/cojeev/lib/appearance-tokens.ts
  • registry/cojeev/lib/assembly-geometry.ts
  • registry/cojeev/lib/bento-layout.ts
  • registry/cojeev/lib/bloom-engine.ts
  • registry/cojeev/lib/chart-geometry.ts
Source
https://github.com/luv-jeri/cojeev-ui

Categories

More from Cojeev UI