Digits
display
Digits: renders a numeric string as large 3-row ASCII art
Terminal
$termuijs render digits
Installation
$ bunx termuijs add digits
Copies the source into src/components/digits/ and installs @termuijs/core, @termuijs/widgets.
Usage
ts
import { Digits } from '@termuijs/widgets'ts
new Digits(style: Partial<Style> = {}, opts: DigitsOptions = {})API Reference
Digits
| Prop | Type | Required | Description |
|---|---|---|---|
color | Color | optional | — |