Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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)

  • 1.0.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
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

FAQs

Package last updated on 08 Feb 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc