1e41f4b71Sopenharmony_ci# circle 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci 4e41f4b71Sopenharmony_ci> **NOTE** 5e41f4b71Sopenharmony_ci> 6e41f4b71Sopenharmony_ci> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. 7e41f4b71Sopenharmony_ci 8e41f4b71Sopenharmony_ciThe **\<circle>** component is used to draw circles. 9e41f4b71Sopenharmony_ci 10e41f4b71Sopenharmony_ci## Required Permissions 11e41f4b71Sopenharmony_ci 12e41f4b71Sopenharmony_ciNone 13e41f4b71Sopenharmony_ci 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci## Child Components 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ciThe following are supported: [\<animate>](js-components-svg-animate.md), [\<animateMotion>](js-components-svg-animatemotion.md), and [\<animateTransform>](js-components-svg-animatetransform.md). 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ci 20e41f4b71Sopenharmony_ci## Attributes 21e41f4b71Sopenharmony_ci 22e41f4b71Sopenharmony_ciThe [universal attributes](js-components-svg-common-attributes.md) and the attributes listed below are supported. 23e41f4b71Sopenharmony_ci 24e41f4b71Sopenharmony_ci| Name| Type| Default Value| Mandatory| Description| 25e41f4b71Sopenharmony_ci| -------- | -------- | -------- | -------- | -------- | 26e41f4b71Sopenharmony_ci| id | string | - | No| Unique ID of the component.| 27e41f4b71Sopenharmony_ci| cx | <length>\|<percentage> | 0 | No| X-coordinate of the circle center. Attribute animations are supported.| 28e41f4b71Sopenharmony_ci| cy | <length>\|<percentage> | 0 | No| Y-coordinate of the circle center. Attribute animations are supported.| 29e41f4b71Sopenharmony_ci| r | <length>\|<percentage> | 0 | No| Radius of the circle. Attribute animations are supported.| 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ci 32e41f4b71Sopenharmony_ci## Example 33e41f4b71Sopenharmony_ci 34e41f4b71Sopenharmony_ci```html 35e41f4b71Sopenharmony_ci<!-- xxx.hml --> 36e41f4b71Sopenharmony_ci<div class="container"> 37e41f4b71Sopenharmony_ci <svg fill="white" width="400" height="400"> 38e41f4b71Sopenharmony_ci <circle cx="60" cy="200" r="50" stroke-width="4" fill="red" stroke="blue"></circle> 39e41f4b71Sopenharmony_ci <circle cx="180" cy="200" r="50" stroke-width="10" stroke="red" stroke-dasharray="10 5" stroke-dashoffset="3"></circle> 40e41f4b71Sopenharmony_ci </svg> 41e41f4b71Sopenharmony_ci</div> 42e41f4b71Sopenharmony_ci``` 43e41f4b71Sopenharmony_ci 44e41f4b71Sopenharmony_ci 45e41f4b71Sopenharmony_ci 46