Marquee
display
Marquee component
Terminal
$termuijs render marquee
Installation
$ bunx termuijs add marquee
Copies the source into src/components/marquee/ and installs @termuijs/core, @termuijs/widgets.
Usage
ts
import { Marquee } from '@termuijs/widgets'ts
new Marquee(text: string, style: Partial<Style> = {}, opts: MarqueeOptions = {})API Reference
Marquee
| Prop | Type | Required | Description |
|---|---|---|---|
text | string | required | — |
direction | MarqueeDirection | optional | — |
speed | number | optional | — |
gap | number | optional | — |