# Function: shapeToPathData()

[**lifecycle-kit**](https://jonbogaty.com/lifecycle-kit/api/readme/index.md)

***

[lifecycle-kit](https://jonbogaty.com/lifecycle-kit/api/readme/index.md) / [forms](https://jonbogaty.com/lifecycle-kit/api/forms/readme/index.md) / shapeToPathData


# Function: shapeToPathData() {#function-shapetopathdata}


> **shapeToPathData**(`shape`): `string`

Defined in: [forms/render/svg.ts:81](https://github.com/jbcom/lifecycle-kit/blob/074e4e7b8038d3e2de9eb44c4b5b5aee0ef02b48/src/forms/render/svg.ts#L81)

The `d` attribute for one shape.


## Parameters {#parameters}



### shape {#shape}


[`Shape`](https://jonbogaty.com/lifecycle-kit/api/forms/type-aliases/shape/index.md)


## Returns {#returns}


`string`
