Story viewer

Full-screen stories with progress bars. Tap right for next, left for back, and hold anywhere to pause.

Mobile onlyNew
Install
npx finepieces add story-viewer
Or with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/story-viewer.json

Tap left or right, hold to pause

import { StoryViewer } from "@/components/fine-pieces/story-viewer";

export default function Example() {
  return (
    <Phone bg="#F2ECE3">
        <StoryViewer
          account={{ name: "oro.jewels", initial: "O", time: "2h" }}
          stories={[
            { image: "/images/sieraad-1.webp", caption: "New: the Lune ring" },
            { image: "/images/handen-2.webp", caption: "Cast by hand in Amsterdam" },
            { image: "/images/sieraad-3.webp", caption: "Layer three lengths" },
            { image: "/images/mode-3.webp", caption: "The drop is live →" },
          ]}
        />
    </Phone>
  );
}