Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A collection of color-related web components. WIP.

NotificationsYou must be signed in to change notification settings

color-js/elements

Repository files navigation

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

All elements

{% for name, description in components -%}A screenshot showcasing the <{{ name }}> color element

{{ description | safe }}

{% endfor %}

Upcoming

{% for name in ["color-plane"] -%}

<{{ name }}>

{% endfor %}

Usage

CDN

To include all components at once:

<scriptsrc="https://elements.colorjs.io/index.js"type="module"></script>

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

<scriptsrc="https://elements.colorjs.io/src/COMPONENT_NAME/COMPONENT_NAME.js"type="module"></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";

About

A collection of color-related web components. WIP.

Resources

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published

    [8]ページ先頭

    ©2009-2025 Movatter.jp