Socket
Book a DemoInstallSign in
Socket

@privjs/gradients

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@privjs/gradients

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

Source
npmnpm
Version
1.0.6
Version published
Weekly downloads
20
185.71%
Maintainers
1
Weekly downloads
 
Created
Source

Seeded Gradient Generator

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

Screenshot 2023-01-03 at 5 44 04 PM

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 prasanna@privjs.com.

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

Keywords

gradient

FAQs

Package last updated on 04 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts