InputColor is a composable color picker component.
InputColor is a composable color picker with area, slider, swatch, and input sub-components.
InputColor is a composable color picker with area, slider, swatch, and input sub-components.
InputColor can be used inside a Popover, with a color swatch as the trigger.
Sliders support vertical orientation, displayed alongside the color area.
Demonstrates tracking color value changes during interaction and when interaction ends.
Advanced color picker with per-format channel sliders, input groups for RGBA, HSBA, HSLA, OKLCH channels, and a CSS output.
InputColor can also be used with reactive forms. In this case, the formControlName property is used to bind the component to a form control.
The colorManager module provides utilities for programmatic color manipulation. It exports the Color class and helper functions for working with colors outside of the InputColor component.
The Color class is the base class for all color classes. It provides the basic functionality for all color classes.
aria-label is used to describe the component. aria-roledescription is used to describe the role of the component. aria-valuemin, aria-valuemax, aria-valuenow, aria-valuetext are used to describe the value of the component.
| Key | Function |
|---|---|
| tab | Moves focus to the area thumb. |
| right arrow | Moves the area thumb to the right. |
| left arrow | Moves the area thumb to the left. |
| up arrow | Moves the area thumb to the up. |
| down arrow | Moves the area thumb to the down. |
aria-label is used to describe the component. aria-valuemin, aria-valuemax, aria-valuenow, aria-valuetext are used to describe the value of the component.
| Key | Function |
|---|---|
| tab | Moves focus to the slider thumb. |
| up arrow || left arrow | Decrements the slider thumb. |
| down arrow || right arrow | Increments the slider thumb. |