# Footer marquee

> A footer with a giant wordmark marquee that speeds up and leans with scroll, scrubs and throws under a drag, and slows to a crawl on hover.

- Type: Block
- Page: https://uiarc.dev/components/blocks/footer-marquee
- Markdown: https://uiarc.dev/components/blocks/footer-marquee/markdown

- Access: Arc Pro
- Registry id: `footer-marquee`
- Source file: `registry/blocks/footer-marquee/footer-marquee.tsx`
- Keywords: footer, marquee, ticker, wordmark, scroll velocity, drag, fling, infinite scroll text, marketing, landing page

Use this as the closing footer of a marketing site. Set the wordmark, columns and legal links, pass scrollContainer when your page scrolls inside an element instead of the window, and route links through onNavigate or real hrefs.

## When to use

- Brand led marketing sites that want the footer to feel alive.
- Product sites with a short, distinctive name.

## When not to use

- Use site-footer for calm documentation or app footers.
- Avoid it when the page already has a moving logo or text marquee.

## Installation

Footer marquee 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/footer-marquee
```

### 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 { FooterMarquee } from "@/components/arc/blocks/footer-marquee/footer-marquee";

export function SiteFooter() {
  return <FooterMarquee wordmark="Northwind" location={{ city: "Zurich", timeZone: "Europe/Zurich" }} onNavigate={link => router.push(link.href ?? "/")} />;
}
```

## API reference

### FooterMarquee

A footer with a giant wordmark running past in a slow marquee. Scrolling speeds it up and leans it in the scroll direction, dragging scrubs it and throws it with the release velocity, and hovering slows it to a crawl.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `wordmark` | `string` | `"Northwind"` | The word in the marquee and beside the small brand star. |
| `tagline` | `string` | `"Operations software for teams that move physical things."` | One short line under the brand. |
| `columns` | `FooterMarqueeColumn[]` | `footerMarqueeColumns` | Link columns: a title and links with label, optional href, and external. |
| `legal` | `FooterMarqueeLink[]` | `footerMarqueeLegal` | Small links beside the copyright. |
| `company` | `string` | `"Northwind Labs"` | Company name in the copyright line. |
| `location` | `{ city: string; timeZone: string } \| null` | `Zurich` | Headquarters with a live local time. Pass null to hide it. |
| `speed` | `number` | `56` | Resting speed in pixels per second. Scroll and drag add to it. |
| `scrollContainer` | `RefObject<HTMLElement \| null>` | – | Element whose scroll drives the marquee. Defaults to the window. |
| `onNavigate` | `(link: FooterMarqueeLink) => void` | – | Called for every link. Links without an href render as buttons and only call this. |
| `onBackToTop` | `() => void` | – | Replaces the default smooth scroll to the top. |
| `year` | `number` | `current year` | Year in the copyright line. |
| `className` | `string` | – | Class on the root. |

## Keyboard interactions

| Keys | Action |
| --- | --- |
| Tab | Moves through the link columns, legal links, the motion toggle, and Back to top. |
| Enter / Space on the pause button | Pauses or resumes the marquee. |

## Accessibility

- The marquee is decorative and hidden from assistive technology; the brand name is read from the heading area.
- A pause button with aria-pressed stops the continuous motion, which satisfies pause, stop, hide for moving content.
- Links with external set open in a new tab and show an outward arrow.

## Motion

- One animation frame loop moves the track; scroll velocity passes through a spring before it adds speed, so bursts feel smooth.
- The track leans with its speed through a skew spring and flips direction with the scroll direction.
- Dragging follows the pointer 1:1, and release hands the measured velocity to an exponentially decaying fling.
- The separator stars rotate with the distance travelled.
- Reduced motion shows the word once, still and fitted to the width, and removes the pause button.

## Responsive behavior

- Brand and four link columns sit side by side above 880px; below that they stack, and below 560px the columns become two.
- The marquee type scales with the container width.
- The legal row wraps; the pause and Back to top buttons move to their own line on phones.

## Performance

- Only the track transform changes per frame; three copies of the word keep the loop seamless at any width.
- Width is measured once per resize with a ResizeObserver.

## Notes for AI

- Pick a word of 5 to 10 letters; it is set at display size.
- Pass scrollContainer when the page scrolls inside a container rather than the window.
- The marquee captures horizontal drags only; vertical page scrolling on touch still works.

## Related

- [Site footer](https://uiarc.dev/components/blocks/site-footer/markdown): A website footer with link columns and newsletter, a minimal layout, and a large fading Arc mark.
- [Logo marquee](https://uiarc.dev/components/blocks/logo-marquee/markdown): A quiet, continuously moving row of brand marks with a pause control.

## 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
