← All components

<path>

Content Wallpaper

Vector path drawn from an SVG-subset `d` attribute (M/L/H/V/C/Z). Use for constellations, decorative flourishes, and bespoke shapes.

Example

<path d="M 10,10 L 40,30 L 70,15 L 90,50" strokeColor="#E8DDC4" strokeWidth="1dp" />

Attributes

Name Type Default Description
d String SVG path data. Coordinates are in dp within the element's width/height canvas.
width Dp 100dp Canvas width
height Dp 100dp Canvas height
color Color Fill colour. Omit for stroke-only.
strokeColor Color Stroke colour. Omit for fill-only.
strokeWidth Dp 0dp Stroke width. 0 = no stroke.
strokeCap String
roundbuttsquare
round Stroke cap.
strokeJoin String
roundmiterbevel
round Stroke join.
strokeMiter Float 4 Miter limit (when strokeJoin=miter)
strokeDashArray String Comma-separated dp dash pattern, e.g. "8dp,4dp". Empty = solid.