@privjs/gradients
v1.0.11
Published
Javascript utility to generate beautiful gradient backgrounds. Built by the team behind [privjs.com](https://privjs.com)
Downloads
54
Maintainers
Readme
Seeded Gradient Generator
Javascript utility to generate beautiful gradient backgrounds. Built by the team behind privjs.com
Demo
https://www.prasannamestha.com/blog/science-of-beautiful-color-gradients
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 [email protected].
Do check out PrivJs Safe: https://safe.privjs.com