0.0.2 • Published 4 days ago

color-elements v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 days ago

Color Elements

These are some highly experimental color-related web components. Use at your own risk, the API can change at any point.

Usage

CDN

To include all components at once:

<script src="https://elements.colorjs.io/index.js"></script>

To cherry-pick individual components, follow the instructions within the component’s page, but it generally looks like this:

<script src="https://elements.colorjs.io/src/COMPONENT_NAME/COMPONENT_NAME.js"></script>

Each component imports its own dependencies and styles.

NPM

As usual:

npm i color-elements

and then:

import "color-elements";

You can also import individual components:

import "color-elements/COMPONENT_NAME";

All elements

Upcoming:

  • <color-plane>
0.0.2

4 days ago

0.0.1

26 days ago