Color Swatch Picker
A Color Swatch Picker keeps color values in sync across React Aria color components. It makes building color pickers with custom layouts a breeze through composition.
Basic
A color swatch picker allows users to choose a color from a predefined set.
Installation
If you hit any issues, make sure you check out the installation guide here.
Composed Components
When you plug this component from the CLI, it autoloads all the composed components. No need to toss 'em in one at a time.
The Color Swatch Picker's decked out with several components to make it bangin'.
Manual Installation
Sometimes, using the CLI is the way to go, so make sure you install the necessary dependencies for the components you want to use.
Anatomy
Import the components and use them as shown below, adapting the structure to fit each component.
Controlled
The color swatch can be managed in a controlled manner.
Disabled
While you can disable individual picker items, disabling the entire picker is possible but generally not recommended.