@psudocode/aurora.js
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Aurora.js

Aurora design implementation for React.

NOTE: for now it's just give you random colors

Install

npm install --save @psudocode/aurora.js

Usage

import Aurora from "@psudocode/aurora.js";
...
<Aurora
  opacity={0.5}
  sides={2}
  style={{ width: 300, height: 300, borderRadius: 10 }}
>
  Your other components
</Aurora>

Note: Aurora act like a div with some default style { position: 'relative', overflow: 'hidden' }

Props

Props Descriptions Default
sides Total colors, 1 - 4 3
opacity Global color opacity 0.8

TODO

  • add feature to implement other than div component
  • add feature to generate color and position by seeds

License

MIT

Package Sidebar

Install

npm i @psudocode/aurora.js

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

14.6 kB

Total Files

13

Last publish

Collaborators

  • psudocode