---
title: Svg.render()
---

The `Svg.render()` method will render a drafted
[Pattern](/reference/api/pattern) as SVG.

## Signature

```js
string svg.render()
```

:::warning

This method is mostly internal and should not be used directly.
Instead, it is intended that the
[Pattern.render()](/reference/api/pattern/render)
method be used to render patterns as SVG.

:::
