Color Swatch
A visual lineup of colors, letting you pick with a click, just like choosing your next outfit from your wardrobe.
Basic
The basic color swatch simply displays the selected color value.
Preview
Code
Installation
If you hit any issues, make sure you check out the installation guide here.
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.
And next, you can copy the code below and paste it into your dopest component folder.
Swatch Picker
A color swatch picker allows users to choose a color from a predefined set.
Preview
Code
Controlled
The color swatch can be managed in a controlled manner.
Preview
Code
Disabled
While you can disable individual picker items, disabling the entire picker is possible but generally not recommended.
Preview
Code