thednp / solid-color-picker

🎨 Modern Color Picker for SolidJS
https://thednp.github.io/solid-color-picker/
MIT License
10 stars 1 forks source link
color-picker solidjs typescript

solid-color-picker

Solid Color Picker

Coverage Status ci Npm Version typescript version solid-js version vitest version vite version

The feature rich ColorPicker component for SolidJS, sourced with TypeScript, WAI-ARIA compliant and is mainly based on ColorPicker.

Demo

Live Demo

Highlights

Installation

npm i @thednp/solid-color-picker
# or
yarn add @thednp/solid-color-picker
# or
pnpm install @thednp/solid-color-picker

Usage

import { DefaultColorPicker } from '@thednp/solid-color-picker'
import '@thednp/solid-color-picker/style.css'

function App() {
  return <DefaultColorPicker value="turquoise" onChange={color => console.log(color)} />;
}

For additional component configuration options, please check the demo.

Some notes

License

Solid Color Picker is released under the MIT License.