--- title: Defs.asRenderProps() --- Returns the Defs as render props, suitable for front-end rendering. ## Signature ```js Object defs.asRenderProps() ``` The object returned by this method will have a `list` property that holds all the defs, as well as a `asSvg` property that holds the result of [Defs.render()](/reference/api/defs/render): ```js { list: { button: ` `, buttonhole: ` `, }, forSvg: ` ` } ```