Dev Design Library

Hover Preview Link

Hover a link to get a preview card that trails your cursor and leans as it moves.

Hover Preview Link preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/hover-preview-link.json
Files
  • src/lab/components/hover-preview-link.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
  • src/lab/preview-play.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab