GraphTicker
Import
import { GraphTicker } from 'markgraphy';Basic usage
<GraphTicker
title="example"
speedMs={140}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | — | Caption drawn on the top edge as [ TITLE ]. Uppercase, 1–2 words. |
items | TickerItem[] | — | Tokens rotated through the row, in order. |
speedMs? | number | 140 | Milliseconds per rotation step. Default 140. |
animated? | boolean | true | Animate the rotation. Default true. Reduced motion shows the first items. |
corner? | string | — | Character at each corner of the frame. Default ’+‘. |
class? | string | '' | — |
Exported types
TickerItemGraphTickerProps
Reduced motion
Animation is disabled under prefers-reduced-motion.