RadialGradient
Radial gradient radiating from a center point
Props
Prop
Details
colorAstringDefault:
#ff0000The starting color at the center of the gradient
colorAstringDefault: #ff0000The starting color at the center of the gradient
colorBstringDefault:
#0000ffThe ending color at the edge of the gradient
colorBstringDefault: #0000ffThe ending color at the edge of the gradient
center{x: number, y: number}Default:
{"x":0.5,"y":0.5}The center point of the radial gradient
center{x: number, y: number}Default: {"x":0.5,"y":0.5}The center point of the radial gradient
radiusnumberDefault:
1The radius of the gradient (normalized, 0.0-1.0)
radiusnumberDefault: 1The radius of the gradient (normalized, 0.0-1.0)
repeatnumberDefault:
1Number of times the gradient repeats. Values above 1 create concentric rings.
repeatnumberDefault: 1Number of times the gradient repeats. Values above 1 create concentric rings.
aspectnumberDefault:
1Stretches the gradient into an ellipse. Values below 1 compress vertically, above 1 compress horizontally.
aspectnumberDefault: 1Stretches the gradient into an ellipse. Values below 1 compress vertically, above 1 compress horizontally.
skewAnglenumberDefault:
0Rotates the ellipse axis in degrees. Only visible when Aspect is not 1.
skewAnglenumberDefault: 0Rotates the ellipse axis in degrees. Only visible when Aspect is not 1.
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
linearColor space for color interpolation
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: linearColor space for color interpolation