Dev Design Library

Morph Surface

An unstyled layout primitive that grows, shrinks, clips, and updates the content of one persistent consumer-styled surface.

Morph Surface preview
Library
Sona UI
Framework
React
Type
ui
License
MIT
Dependencies
motion, react-use-measure
Install
npx shadcn@latest add @sona-ui/morph-surface
Files
  • src/registry/sonaui/morph-surface/morph-surface.tsx
  • src/registry/sonaui/sona-motion/sona-motion.ts
  • src/registry/sonaui/sona-utils/sona-utils.ts
  • src/lib/sona-motion.ts
  • src/lib/sona-utils.ts
Source
https://github.com/Dinil-Thilakarathne/sona-ui

Categories

More from Sona UI