Awesome ASCII art component for Ink
$ npm install ink-ascii
import React from "react";
import { render } from "ink";
import Ascii from "ink-ascii";
render(
<Ascii font="Slant Relief" horizontalLayout="default" verticalLayout="default" text="Yeah!" />
);
Props except for text
are passed as options to figlet
.
- MVP
- Tests
- Support color themes
- Support user specified width and hard line wraps
- Support word wraps
- ink-big-text - Big text component for Ink, similar to
ink-ascii
- ink-gradient - Gradient color component for Ink
- ink-box - Box component for Ink
- ink-link - Link component for Ink
MIT © Xiaoru Li