Skip to content

Rolling Reader

A scroll-driven reader where text stays flat and curls away over a drum at the edges, under a progressive blur.

2 variantsNew

Preview

Installation

Copies the component into components/ui and installs its dependencies and theme tokens.

pnpm dlx shadcn@latest https://floret.shippedui.com/r/rolling-reader.json

Usage

Pass your own data and wire the callbacks to your app.

import { RollingReader } from "@/components/ui/rolling-reader";

<RollingReader
  label="About me"
  paragraphs={[
    "I build products with purpose.",
    "Every project is someone trusting you with something that matters.",
  ]}
/>

Props

PropTypeDefaultDescription
paragraphs*string[]—Plain-text paragraphs. Each one is a snap point.
labelstring"Reader"Accessible name of the scroll region.
heightnumber420Card height in px.
classNamestring—Fills its container's width; cap it here, e.g. max-w-md.