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-viewerOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/story-viewer.jsonTap left or right, hold to pause
example.tsx
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>
);
}