Package Exports
- @instructure/ui-color-picker
- @instructure/ui-color-picker/es/index.js
- @instructure/ui-color-picker/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-color-picker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
category: packages
ui-color-picker
A robust component for picking, mixing, validating colors
Installation
npm install @instructure/ui-color-pickerComponents
ColorPicker
The main component. It comes with an input field and can be customized to fit any input need
ColorIndicator
A component displaying a circle with checkerboard background capable of displaying colors
ColorMixer
Made for mixing colors setting hue, saturation, luminance and alpha or just typing in an rgba color
ColorPreset
Lets the user pick from a collection of preset colors. The list can be modified (added, removed) by the user if needed
ColorContrast
Calculates, visualizes and validates against WCAG 2.1 standards the contrast between two colors