Cursor label
Over photos, a round label with a word follows your mouse.
Desktop onlyUsed in production
Install
npx finepieces add cursor-labelOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/cursor-label.jsonMove over a photo
example.tsx
import { CursorLabel } from "@/components/fine-pieces/cursor-label";
export default function Example() {
return (
<CursorLabel items={[{ image: "/images/interieur-2.webp", label: "View" }, { image: "/images/architectuur-3.webp", label: "Open case" }, { image: "/images/stoel-2.webp", label: "Play" }]} />
);
}