1.0.5 • Published 3 years ago

@psudocode/aurora.js v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

PropsDescriptionsDefault
sidesTotal colors, 1 - 43
opacityGlobal color opacity0.8

TODO

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

License

MIT

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

0.0.5

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago