random-gradient
Advanced tools
Weekly downloads
Changelog
v0.0.2
Readme
Generate beautiful random gradients
$ npm install --save random-gradient
// with React
import gradient from 'random-gradient'
export default ({ name }) => {
const bgGradient = { background: gradient(name) }
return (
<div style={bgGradient}>
<h2>{name}</h2>
</div>
)
}
Type: string
Required
Type: string
Default: diagonal
Options: diagonal
, vertical
, horizontal
, radial
MIT © Bu Kinoshita
FAQs
Generate beautiful random gradients
The npm package random-gradient receives a total of 688 weekly downloads. As such, random-gradient popularity was classified as not popular.
We found that random-gradient demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.