@privjs/gradients

Javascript utility to generate beautiful gradient backgrounds. Built by the team behind [privjs.com](https://privjs.com)

$0

41 downloads
prasanna

Seeded Gradient Generator

Javascript utility to generate beautiful gradient backgrounds. Built by the team behind privjs.com

Installation

$ npm i @privjs/gradients

Usage

import gradient from '@privjs/gradients'

const background = gradient('randomstring')

<div style={{ backgroundImage: background, width: '10rem', aspectRatio: '1' }}></div>

Support

Contact me on Twitter or write an email to prasanna@privjs.com.

Do check out PrivJs Safe: https://safe.privjs.com

Monetize your
open-source work

Supercharge your OSS projects by selling npm packages. Get started in just 5 minutes.