# Manifesto scroll

> A manifesto in large type whose words slide into place and light up as you scroll, lock sentence by sentence, and end with a signature that draws itself.

- Type: Block
- Page: https://uiarc.dev/components/blocks/manifesto-scroll
- Markdown: https://uiarc.dev/components/blocks/manifesto-scroll/markdown

- Access: Arc Pro
- Registry id: `manifesto-scroll`
- Source file: `registry/blocks/manifesto-scroll/manifesto-scroll.tsx`
- Built from: Scroll highlight
- Keywords: manifesto, scroll, text highlight, reading, values, mission, signature, big type, scrollytelling, editorial

Use this for a company or product manifesto. Pass your sentences (wrap a phrase in asterisks to keep it in the accent) and the signatory, and set scroll to page to pin it in the page scroll.

## When to use

- A mission or values section on a company page.
- An editorial moment in a long landing page that deserves slow reading.

## When not to use

- Use scroll-highlight for a single paragraph inside other content.
- Avoid it for long copy or anything people need to skim.

## Installation

Manifesto scroll is part of Arc Pro. The live preview is public; the source and install command need Pro.

### CLI with a Pro token

1. Create a token in your account and set it in the environment (or `.env.local`). Never commit it.

```bash
export ARC_PRO_TOKEN=arc_pro_...
```

2. Add the Pro registry to `components.json`:

```json
{
  "registries": {
    "@uiarc": "https://uiarc.dev/r/{name}.json",
    "@uiarc-pro": {
      "url": "https://uiarc.dev/r/pro/{name}.json",
      "headers": {
        "Authorization": "Bearer ${ARC_PRO_TOKEN}"
      }
    }
  }
}
```

3. Install:

```bash
npx shadcn@latest add @uiarc-pro/manifesto-scroll
```

### Manual

Signed-in Pro members can copy the source from the Manual tab on the docs page.

- Plans: https://uiarc.dev/pricing
- Create a Pro token: https://uiarc.dev/account#pro-access
- Setup guide: https://uiarc.dev/docs/ai#pro-access

## Usage

```tsx
import { ManifestoScroll } from "@/components/arc/blocks/manifesto-scroll/manifesto-scroll";

export function Manifesto() {
  return (
    <ManifestoScroll
      scroll="page"
      sentences={["We build for people who *ship.*", "Small teams, *sharp tools.*"]}
      signatory={{ name: "Ada Park", role: "Founder" }}
    />
  );
}
```

## API reference

### ManifestoScroll

A manifesto set in large type and read by scrolling. Words start as loose, faint type; as the reading position reaches each one it slides into its slot and lights up. A finished sentence locks: its words press into place and settle to full ink while the marked phrase keeps the highlight. A signature draws itself at the end.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `sentences` | `string[]` | `manifesto` | Sentences in reading order. Wrap a phrase in asterisks to keep it highlighted once its sentence locks. |
| `signatory` | `{ name: string; role?: string }` | `{ name: "Nora Lindqvist", role: "Cofounder, Fieldnote" }` | Who signs it, shown under the drawn signature. |
| `scroll` | `"container" \| "page"` | `"container"` | container scrolls inside its own frame; page pins to the viewport and reads the page scroll. |
| `length` | `number` | `3.6` | Scroll distance as a multiple of the frame height. |
| `onLockedChange` | `(count: number) => void` | – | Called with the number of locked sentences whenever it changes. |
| `className` | `string` | – | Class on the root section. |

## Keyboard interactions

| Keys | Action |
| --- | --- |
| Tab | Focuses the scroll frame in container mode. |
| Arrow keys / Space / Page down | Scroll the manifesto. |

## Accessibility

- The text is real text in reading order; highlight layers are aria-hidden duplicates.
- In container mode the frame is a focusable region named Manifesto, scroll to read.
- The signature is an image named Signed, followed by the signatory's name.

## Motion

- Scroll progress is smoothed by a spring so the type moves evenly on wheels and trackpads.
- Each word eases from a small offset and tilt into place as it lights; several words light at once, like a reading head.
- On lock, words press to 94% and spring back with a 20ms stagger while their color settles from highlight to ink.
- The signature path draws with scroll, then the name rises in.
- Reduced motion removes offsets, tilts and the press; words still light up with scroll and the signature still draws.

## Responsive behavior

- Type scales with the container from about 30px to 68px.
- The frame is 86% of the viewport height, clamped between 540px and 860px, in container mode.
- The progress rail shortens on narrow screens.

## Performance

- Word transforms and opacities are motion values derived from one progress value; nothing re-renders while scrolling except when a sentence locks.
- Only transform and opacity animate.

## Notes for AI

- Keep it to three to five short sentences, about 40 words; everything must fit the pinned frame.
- Highlight one phrase per sentence at most.
- Use scroll="page" on a real landing page; container mode is for previews and embeds.
- The highlight uses --series-1, which follows the accent and falls back to blue for a neutral accent.

## Related

- [Scroll story](https://uiarc.dev/components/blocks/scroll-story/markdown): A feature section where scrolling the copy drives a pinned product view through each step.
- [Text reveal](https://uiarc.dev/components/text-reveal/markdown): Reveal a short piece of content with restrained motion.
- [In-view title](https://uiarc.dev/components/in-view-title/markdown): Bring a section title in as it scrolls into view.

## Guidance for AI tools

Blocks are complete, self-contained screens with sample data. Replace the sample data and connect the callbacks described above. Follow the declared prop types and do not invent props. Keep keyboard access, reduced motion support, and both light and dark themes intact when adapting it.

Full library index: https://uiarc.dev/llms.txt
