Optional
class
class?: string
Optional
clip-rule
clip-rule?: "nonzero" | "evenodd" | "inherit"
Optional
cx
cx?: string
Optional
cy
cy?: string
Optional
d
d?: string
Optional
direction
direction?: "ltr" | "rtl"
Optional
dominant-baseline
dominant-baseline?:
| "middle"
| "auto"
| "text-bottom"
| "alphabetic"
| "ideographic"
| "central"
| "mathematical"
| "hanging"
| "text-top"
Optional
dx
dx?: string
Optional
dy
dy?: string
Optional
fill
fill?: string
Optional
fill-opacity
fill-opacity?: string
Optional
font-family
font-family?: string
Optional
font-size
font-size?: string
Optional
font-style
font-style?: "normal" | "italic" | "oblique"
Optional
font-weight
font-weight?: string
Optional
fx
fx?: string
Optional
fy
fy?: string
Optional
gradientUnits
gradientUnits?: "userSpaceOnUse" | "objectBoundingBox"
Optional
height
height?: string
Optional
href
href?: string
Optional
id
id?: string
Optional
line-height
line-height?: string
Optional
offset
offset?: string
Optional
opacity
opacity?: string
Optional
r
r?: string
Optional
spreadMethod
spreadMethod?: "pad" | "reflect" | "repeat"
Optional
stop-color
stop-color?: string
Optional
stop-opacity
stop-opacity?: string
Optional
stroke
stroke?: string
Optional
stroke-dasharray
stroke-dasharray?: string
Optional
stroke-dashoffset
stroke-dashoffset?: string
Optional
stroke-linecap
stroke-linecap?: "butt" | "round" | "square"
Optional
stroke-linejoin
stroke-linejoin?:
| "round"
| "arcs"
| "bevel"
| "miter"
| "miter-clip"
Optional
stroke-miterlimit
stroke-miterlimit?: string
Optional
stroke-opacity
stroke-opacity?: string
Optional
stroke-width
stroke-width?: string
Optional
text-anchor
text-anchor?: "start" | "middle" | "end"
Optional
text-decoration
text-decoration?: string
Optional
transform
transform?: string
Optional
vector-effect
vector-effect?:
| "non-scaling-stroke"
| "non-scaling-size"
| "non-rotation"
| "fixed-position"
| "none"
Optional
visibility
visibility?: "hidden" | "visible" | "collapse"
Optional
width
width?: string
Optional
x
x?: string
Optional
x1
x1?: string
Optional
x2
x2?: string
Optional
y
y?: string
Optional
y1
y1?: string
Optional
y2
y2?: string
A more specific representation of the attributes that are permitted on SVG elements.
See
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute The value of all attributes MUST be string.