32 lines
552 B
Markdown
Raw Normal View History

2022-09-07 10:56:25 +02:00
# Strapi plugin Color Picker
2022-09-07 10:56:25 +02:00
A Strapi-maintainted color picker custom field
2022-09-01 14:16:37 +02:00
## Installation
To install this plugin, you need to add an NPM dependency to your Strapi application:
```sh
# Using Yarn
2022-09-07 10:56:25 +02:00
yarn add @strapi/plugin-color-picker
2022-09-01 14:16:37 +02:00
# Or using NPM
2022-09-07 10:56:25 +02:00
npm install @strapi/plugin-color-picker
2022-09-01 14:16:37 +02:00
```
Then, you'll need to build your admin panel:
```sh
# Using Yarn
yarn build
# Or using NPM
npm run build
```
2022-09-07 10:56:25 +02:00
## Usage
2022-09-01 14:16:37 +02:00
Use saturation and hue sliders to select a color and save the value as a HEX string
![color picker screenshot](./color-picker.png)