Introducing v3 — a new editor, faster engine, and more.

See what's new

ConicGradient

Colors sweep in a full circle around a center point, like a color wheel

Props

colorAstring
Default:#FF0080
Starting color of the sweep
colorBstring
Default:#00BFFF
Ending color of the sweep (wraps back to Color A)
stopsobject
Default:null
Multi-stop gradient colors (overrides Color A / Color B when set)
center{x: number, y: number}
Default:{"x":0.5,"y":0.5}
Center point of the sweep
rotationnumber
Default:0
Rotation offset in degrees — shifts where Color A begins
repeatnumber
Default:1
Number of times the gradient repeats around the circle. Values above 1 create a starburst pattern.
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"
Default:linear
Color space for color interpolation

Usage

<Shader>
  <ConicGradient />
</Shader>