Back to Component Browser
GradientPicker
Quartzlib/quartz/components/GradientPicker/index.ts
Preview
Import
import { GradientPicker } from '@/lib/quartz';Props (12)
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| label | string | required | — | — |
| initialState | GradientPickerState | required | — | — |
| onChange | (color: string) => void | required | — | — |
| defaultColors | PresetColor[] | optional | — | — |
| dangerouslyHideLabel | boolean | optional | — | — |
| className | string | optional | — | — |
| position | enum | optional | — | — |
| triggerWidth | any | optional | — | — |
| triggerHeight | any | optional | — | — |
| circleDiameter | any | optional | — | — |
| disabled | boolean | optional | — | — |
| eyeDropper | boolean | optional | true | — |
Usage
Not used in any projects yet.