Element index
Every element xsvg adds or revives, grouped by area. New elements are x:-prefixed; revived ones
are real SVG names the compiler implements that browsers dropped or never shipped.
Text
| Element | Summary | Reference |
|---|---|---|
<text inline-size> | wrap plain <text> at a width (revived SVG 2 attribute) | Wrapping |
<textArea> | box text with align / auto-size (revived SVG Tiny 1.2) | Wrapping |
<x:textbox> | box- or shape-bound text: padding, align, fit, region flow | Textbox |
<tspan> | inline styled run that flows and wraps with the paragraph | Styled runs |
<tbreak/> | forced line break (revived SVG Tiny 1.2) | Wrapping |
<x:p> | a paragraph inside a textbox — spacing and per-paragraph style | Paragraphs |
<x:list> / <x:li> | hanging-indent bullet / numbered lists with cycling markers | Lists |
<x:table> / <x:tr> / <x:td> / <x:th> | grid with author-set columns and content-driven row heights | Tables |
<x:textpath> | set text along a path — follow, skew, ribbon | Type on a path |
Geometry
| Element | Summary | Reference |
|---|---|---|
<x:warp> | envelope distortion — presets, perspective, free distort, bend | Warp |
<x:boolean> | live path algebra — union / subtract / intersect / exclude | Booleans |
<x:offset> | grow / shrink a region by a Minkowski distance | Offset |
<x:connector> | a line routed between two elements' edges | Connectors |
Charts
| Element | Summary | Reference |
|---|---|---|
<x:plot> / <x:bars> / <x:bar> / <x:line> | a linear data-coordinate frame for bar & line charts | Plots |
<x:pie> / <x:slice> | pie / donut / polar-area — value to angle | Pie |
Paint & theming
| Element | Summary | Reference |
|---|---|---|
<x:theme> / <x:color> / <x:font> | compile-time design tokens (var(name), x:font="name") | Theming |
<x:mesh> / <x:face> | Coons/tensor mesh gradients, baked to texel-aligned PNGs | Mesh gradients |
<meshgradient> | SVG 2 / Inkscape mesh gradient (revived as a fill source) | Mesh gradients |
Composition
| Element | Summary | Reference |
|---|---|---|
<use href="file.xsvg"> | pull in a whole file, or one element by id (file.xsvg#id), baked at compile time | Cross-file <use> |
See also
- Attribute index — extension attributes on standard elements.