Dev Design Library

LinkPreview

The `LinkPreview` component is an interactive UI element that displays a preview of a link when hovered over. It enhances user experience by providing additional context about the link.

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

Categories

More from Sona UI