Gradient color component for Ink
npm install ink-gradient> Gradient color component for Ink

``sh`
npm install ink-gradient
`js
import React from 'react';
import {render} from 'ink';
import Gradient from 'ink-gradient';
import BigText from 'ink-big-text';
render(
);
`
It accepts a string or Ink component as children. For example, .
#### Props
##### children
The content to colorize.
Multiple children are treated as separate nodes, which preserves layout when is placed inside a .
If you want a continuous gradient across multiple lines, pass a single string or a single with \n.
##### name
Type: string
The name of a built-in gradient.
Mutually exclusive with colors.
##### colors
Type: string[] | object[]
Colors to use to make the gradient.
Mutually exclusive with name`.
- ink-big-text - Awesome text component for Ink
- ink-link - Link component for Ink