Draggable stickers
Photos sit on the page like stickers, and you can drag them around.
UniversalUsed in production
Install
npx finepieces add draggable-stickersOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/draggable-stickers.jsonexample.tsx
import { DraggableStickers } from "@/components/fine-pieces/draggable-stickers";
export default function Example() {
return (
<DraggableStickers
title={<>Fresh <mark>every morning</mark> at six.</>}
caption="Broodhuis Vos · Haarlem"
stickers={[
{ image: "/images/bakkerij-1.webp", x: "52%", y: "8%", rotate: -7, width: 150 },
{ image: "/images/bakkerij-2.webp", x: "68%", y: "26%", rotate: 6, width: 160 },
{ image: "/images/bakkerij-3.webp", x: "56%", y: "46%", rotate: -2, width: 170 },
]}
seal={<>Vos<br />since<br />1987</>}
/>
);
}