CTA sticker that docks

A round sticker travels along as you scroll and snaps into place at the end.

UniversalNew
Install
npx finepieces add docking-sticker
Or with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/docking-sticker.json

Scroll to the end

import { DockingSticker } from "@/components/fine-pieces/docking-sticker";

export default function Example() {
  return (
    <DockingSticker endText="Ready to order?" sticker={<>Order<br />a<br />bouquet</>}>
      <div className="grid gap-4 px-[30px] pb-[60px] pt-7">
        <h3 className="max-w-[12ch] font-display text-[clamp(40px,5vw,76px)] font-semibold leading-[.95] tracking-[-.03em]">Flowers for every week.</h3>
        {["bloem-1", "bloem-2", "plant-1"].map((k) => (
          <img key={k} src={img(k)} alt="" className="h-[300px] w-full rounded-[4px] object-cover" />
        ))}
      </div>
    </DockingSticker>
  );
}