Hover Img
Hover Img: Floating image preview that tracks cursor position on link hover. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Hover Img
npx motion-ui-skill add hover-imgComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxgsapreacttailwind-merge
Source files
Hover Img
Component from Motion UI: hover-img
Install
npx motion-ui-skill add hover-img
Dependencies
clsxgsapreacttailwind-merge
Usage
"use client";
import { HoverImg as HoverImg } from "@/components/craft/hover-img";
export function Example() {
return (
<div className="p-6">
<HoverImg />
</div>
);
}