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.jsonUsage
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
| Prop | Type | Default | Description |
|---|---|---|---|
| paragraphs* | string[] | — | Plain-text paragraphs. Each one is a snap point. |
| label | string | "Reader" | Accessible name of the scroll region. |
| height | number | 420 | Card height in px. |
| className | string | — | Fills its container's width; cap it here, e.g. max-w-md. |