Components
Ascii
ASCII art text rendering with multiple font styles
Renders text as large ASCII art using the <ascii-font> OpenTUI intrinsic.
Supports multiple font styles and custom colors.
Ascii
Run demo
bunx @gridland/demo asciicurl -fsSL https://raw.githubusercontent.com/thoughtfulllc/gridland/main/scripts/run-demo.sh | bash -s asciiInstallation
bunx shadcn@latest add @gridland/asciiUsage
import { Ascii } from "@/components/ui/ascii"<Ascii text="Hello" font="slick" color="#88c0d0" />Examples
Fonts
Use the font prop to change the ASCII art style.
<Ascii text="Hello" font="tiny" />
<Ascii text="Hello" font="block" />
<Ascii text="Hello" font="slick" />
<Ascii text="Hello" font="shade" />Custom Color
Override the default theme color.
<Ascii text="Hello" font="slick" color="#05FFA1" />
<Ascii text="Hello" font="block" color="cyan" />API Reference
Ascii
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | - | Text to render as ASCII art |
font | "tiny" | "block" | "slick" | "shade" | - | ASCII font style |
color | string | theme.primary | Foreground color |