1# path 2 3 4> **NOTE** 5> 6> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. 7 8The **\<path>** component is used to draw a path. 9 10## Required Permissions 11 12None 13 14 15## Child Components 16 17The following are supported: [\<animate>](js-components-svg-animate.md), [\<animateMotion>](js-components-svg-animatemotion.md), and [\<animateTransform>](js-components-svg-animatetransform.md). 18 19 20## Attributes 21 22The [universal attributes](js-components-svg-common-attributes.md) and the attributes listed below are supported. The configured universal attributes are passed to the child components. 23 24| Name| Type| Default Value| Mandatory| Description| 25| -------- | -------- | -------- | -------- | -------- | 26| id | string | - | No| Unique ID of the component.| 27| d | string | - | No| Shape of the path. The value contains a group of character instructions. Uppercase letters are absolute paths, and lowercase letters are relative paths.<br>The meanings of the letters are as follows:<br>- M/m = moveto<br>- L/l = lineto<br>- H/h = horizontal lineto<br>- V/v = vertical lineto<br>- C/c = curveto<br>- S/s = smooth curveto<br>- Q/q = quadratic Belzier curve<br>- T/t = smooth quadratic Belzier curveto<br>- A/a = elliptical Arc<br>- Z/z = closepath | 28 29 30## Example 31 32```html 33<!-- xxx.hml --> 34<div class="container"> 35 <svg width="400" height="400"> 36 <path d="M 10,30 A 20,20 0,0,1 50,30 A 20,20 0,0,1 90,30 Q 90,60 50,90 Q 10,60 10,30 z" 37 stroke="blue" stroke-width="3" fill="red"> 38 </path> 39 </svg> 40</div> 41``` 42 43 44 45