ConicGradient
Colors sweep in a full circle around a center point, like a color wheel
Props
Prop
Details
colorAstringDefault:
#FF0080Starting color of the sweep
colorAstringDefault: #FF0080Starting color of the sweep
colorBstringDefault:
#00BFFFEnding color of the sweep (wraps back to Color A)
colorBstringDefault: #00BFFFEnding color of the sweep (wraps back to Color A)
center{x: number, y: number}Default:
{"x":0.5,"y":0.5}Center point of the sweep
center{x: number, y: number}Default: {"x":0.5,"y":0.5}Center point of the sweep
rotationnumberDefault:
0Rotation offset in degrees — shifts where Color A begins
rotationnumberDefault: 0Rotation offset in degrees — shifts where Color A begins
repeatnumberDefault:
1Number of times the gradient repeats around the circle. Values above 1 create a starburst pattern.
repeatnumberDefault: 1Number of times the gradient repeats around the circle. Values above 1 create a starburst pattern.
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
oklchColor space for color interpolation
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: oklchColor space for color interpolation