---
title: Svg.defs
---

The `Svg.defs` property holds a [Defs object](/reference/api/defs) that holds
the contents of [the defs
section](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs) of the
SVG document.

## Signature

```svg
<defs>
  /* svg.defs will be inserted */
</defs>
```
