SVG *
This component displays a vector image. Supported properties are the path, fill color, stroke color, and stroke width.
Last updated
This component displays a vector image. Supported properties are the path, fill color, stroke color, and stroke width.
Last updated
Name
Type
Description
style
ImageSvgStyleRuleSet | ImageSvgStyleRuleSet[]
See below for supported styles
fillColor
color
Color and opacity of fill
Default values are provided by SVG
fillOpacity
number
Color and opacity of fill
Default values are provided by SVG
preserveAspectRatio
boolean
Preserve aspect ratio or stretch?
strokeColor
color
Color
Width and opacity of stroke
Default values are provided by SVG
strokeWidth
number
Color
Width and opacity of stroke
Default values are provided by SVG
strokeOpacity
number
Color
Width and opacity of stroke;
Default values are provided by SVG
title
string
Tooltip for image
viewBox
string
Bounding box
webShadow
boolean
Shadow
Name
Type
Description
fillColor
color
Color and opacity of fill
Default values are provided by SVG
fillOpacity
number
Color and opacity of fill
Default values are provided by SVG
strokeColor
color
Colo
Width and opacity of stroke
Default values are provided by SVG
strokeWidth
number
Color
Width and opacity of stroke
Default values are provided by SVG
strokeOpacity
number
Color
Width and opacity of stroke
Default values are provided by SVG
Name
Type
Description
d
string
Path definition string
Name
Type
Description
x
number
Position and dimension information for the rect
y
number
Position and dimension information for the rect
width
number
Position and dimension information for the rect
height
number
Position and dimension information for the rect