# Infinite Ticker

> A ticker tape that speeds up when you scroll.

Symbols, values and up/down marks run past a fixed tag; scrolling speeds it up and scrolling back reverses it.

- Family: Typography
- Plan: Creative. Included with Creative.
- Requires: React, Tailwind CSS v4 and the motion package
- Page with a live preview: https://galactrex.com/ui/infinite-ticker/
- Licence: https://galactrex.com/ui/license/

## Install

```sh
npx @galactrex/ui login   # once, with an API key from https://galactrex.com/account/
npx @galactrex/ui add infinite-ticker
```

It installs to `components/galactrex/infinite-ticker.tsx`, with the shared motion helpers beside it. First time in a project: `npx @galactrex/ui init` (setup guide: https://galactrex.com/docs/ui-components-setup/).

## Usage

```tsx
import { InfiniteTicker } from "@/components/galactrex/infinite-ticker";

<InfiniteTicker items={[{ label: "GLTX", value: "$42.10", change: 1.2 }]} />
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `items` | `{ label; value?; change? }[]` | — | The tape. |
| `speed` | `number` | `50` | px per second at rest. |
| `scrollBoost` | `number` | `1.2` | Scroll influence, 0 to 3. |
| `tag` | `string` | `"Live"` | Fixed label. |
| `className` | `string` | — | Extra classes for the outer element. |

## Variants

- **Markets.** Prices with changes.
- **Status.** Service names and states.

## Accessibility

- Values listed once for assistive tech; up/down shown by symbol, not colour.

## Motion

- One transform per frame; pauses offscreen.
- Reduced motion: still, scrollable.
