This is the React Color Picker field for Hygraph, powered by React Color package.
To use this app, certain pre-requisites have to be met:
- You must have a Hygraph account. If you don't have one, you can create one here.
- You must have a Hygraph project. If you don't have one, check the starters.
Click here to install React Color Picker App on Hygraph, then follow these steps:
- In the dropdown, select which project you want to install the app in, then click on the
Add Appbutton. You should be redirected to your Hygraph project dashboard. - Click on the
Savebutton to finish the installation. A pop-up notification in the lower right corner of the screen will indicate that the changes have been saved.
- Navigate to the Schema builder.
- Select the model that you would like to add the React Color Picker field to.
- Select the React Color Picker field from the Add fields right sidebar.
- Complete the
Display namefield, and theAPI IDwill be auto-filled by the system. Optionally, you can also add aDescription. This screen allows you to control different properties of your React Color Picker field: you can allow multiple values, by selecting the checkboxes under theField optionssection of the screen. - Optionally, you can also add the
Colorsyou want to allow the users to pick on your field, like your brand colors. If you don't need it, just leave this field blank. - Click on the
Createbutton.
- Navigate to the Content editor.
- Select the model that you configured the React Color Picker field for.
- Click on the
+ Create entrybutton or, alternatively, edit an existing entry. - Locate the React Color Picker field of the screen and click on any color to select it.
- Now that the color has been added to the entry, you can click on
SaveorSave & Publish, as needed.
Thanks for being interested in contributing!
We're so glad you want to help! All types of contributions are welcome, such as bug fixes, issues, or pull requests.
Contributors
- @castroalves Cadu de Castro Alves
- …and you?