Skip to content

BigText

widgetsdisplay

BigText: renders text as large 5×3 ASCII art banner characters

Installation

$ bunx termuijs add big-text

Copies the source into src/components/big-text/ and installs @termuijs/core, @termuijs/widgets.

Usage

ts
import { BigText } from '@termuijs/widgets'
ts
new BigText(text: string, style: Partial<Style> = {}, opts: BigTextOptions = {})

API Reference

BigText

PropTypeRequiredDescription
textstringrequired
colorColoroptionalColor for the rendered characters
#display#big-text