All Projects → sindresorhus → Ink Gradient

sindresorhus / Ink Gradient

Licence: mit
Gradient color component for Ink

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ink Gradient

Ink Link
Link component for Ink
Stars: ✭ 133 (+8.13%)
Mutual labels:  cli, npm-package, jsx
Nls
Missing inspector for npm packages.
Stars: ✭ 44 (-64.23%)
Mutual labels:  cli, npm-package
Wonders
🌈 Declarative JavaScript framework to build command-line applications.
Stars: ✭ 34 (-72.36%)
Mutual labels:  cli, jsx
Github Files Fetcher
Download a specific folder or file from a GitHub repo through command line
Stars: ✭ 73 (-40.65%)
Mutual labels:  cli, npm-package
Git Praise
A nicer git blame.
Stars: ✭ 24 (-80.49%)
Mutual labels:  cli, colors
Tb Cli
🛠️ CLI for rapid TB generate
Stars: ✭ 8 (-93.5%)
Mutual labels:  cli, npm-package
Cli Mandelbrot
📦 View the Mandelbrot set from your terminal
Stars: ✭ 59 (-52.03%)
Mutual labels:  cli, npm-package
Ok Mdx
Browser-based MDX editor
Stars: ✭ 681 (+453.66%)
Mutual labels:  cli, jsx
Forge Node App
🛠📦🎉 Generate Node.js boilerplate with optional libraries & tools
Stars: ✭ 90 (-26.83%)
Mutual labels:  cli, npm-package
Nord Termite
An arctic, north-bluish clean and elegant Termite color theme.
Stars: ✭ 104 (-15.45%)
Mutual labels:  cli, colors
Colors.jl
Color manipulation utilities for Julia
Stars: ✭ 114 (-7.32%)
Mutual labels:  gradients, colors
Github Spray
Draw on your GitHub contribution graph ░▒▓█
Stars: ✭ 908 (+638.21%)
Mutual labels:  cli, npm-package
Np
A better `npm publish`
Stars: ✭ 6,401 (+5104.07%)
Mutual labels:  cli, npm-package
Yarpm
CLI tool to run npm scripts with either npm or yarn, depending on how it was started
Stars: ✭ 13 (-89.43%)
Mutual labels:  cli, npm-package
Mevn Cli
Light speed setup for MEVN(Mongo Express Vue Node) Apps
Stars: ✭ 696 (+465.85%)
Mutual labels:  cli, npm-package
Colorette
Easily set the color and style of text in the terminal.
Stars: ✭ 1,047 (+751.22%)
Mutual labels:  cli, colors
Wordup Cli
Wordup is a fully integrated development platform for WordPress. Develop plugins and themes locally. Preview in the cloud. Automatic updates in WP.
Stars: ✭ 116 (-5.69%)
Mutual labels:  cli, npm-package
Iroiro
Beautiful Colors Lookup in CLI
Stars: ✭ 470 (+282.11%)
Mutual labels:  cli, colors
Tml
🌈💻🎨 A tiny markup language for terminal output. Makes formatting output in CLI apps easier!
Stars: ✭ 634 (+415.45%)
Mutual labels:  cli, colors
Kit
Tools for developing, documenting, and testing React component libraries
Stars: ✭ 1,201 (+876.42%)
Mutual labels:  cli, jsx

ink-gradient

Gradient color component for Ink

Looking for a version compatible with Ink 2.x? Check out this release.

Install

$ npm install ink-gradient

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

<Gradient>

It accepts a string or Ink component as children, for example, ink-box.

Props

name

Type: string

Name of a built-in gradient.

colors

Type: string[] | object[]

Colors to use to make the gradient.

Related

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].