sindresorhus/ink-big-text

Awesome text component for Ink

143

stars

22

commits

TypeScript

primary language

Apr 1, 2024

updated

cli
figlet
ink
ink-component
jsx
nodejs
npm-package
react
Browse cluster: Ink CLI component library β†’

README

ink-big-text

Awesome text component for Ink

Install

npm install ink-big-text

Usage

import React from 'react';
import {render} from 'ink';
import Gradient from 'ink-gradient';
import BigText from 'ink-big-text';

render(
	<Gradient name="rainbow">
		<BigText text="unicorns"/>
	</Gradient>
);

API

<BigText/>

Props except for text are passed as options to cfonts. The only difference is that the background option is named backgroundColor here. See the prop types in index.tsx for more.

Contributors

sindresorhus

17 commits

asmockler

1 commits

cometkim

1 commits

jrr

1 commits

sindresorhus/ink-big-text

Awesome text component for Ink

143

stars

22

commits

TypeScript

primary language

Apr 1, 2024

updated

cli
figlet
ink
ink-component
jsx
nodejs
npm-package
react
Browse cluster: Ink CLI component library β†’

README

ink-big-text

Awesome text component for Ink

Install

npm install ink-big-text

Usage

import React from 'react';
import {render} from 'ink';
import Gradient from 'ink-gradient';
import BigText from 'ink-big-text';

render(
	<Gradient name="rainbow">
		<BigText text="unicorns"/>
	</Gradient>
);

API

<BigText/>

Props except for text are passed as options to cfonts. The only difference is that the background option is named backgroundColor here. See the prop types in index.tsx for more.

Contributors

sindresorhus

17 commits

asmockler

1 commits

cometkim

1 commits

jrr

1 commits

Languages

TypeScript

100.0%