---
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
```js
Defs svg.defs = {
list = {
buttonhole: `
`,
},
}
```
Result:
```
```