# MarkerUnits

> Represents literal string values for the SVG markerUnits attribute.

[API reference](/docs/api/index.md) › [HTML SVG](/docs/extensions/html-svg/reference/index.md) › [Values](/docs/extensions/html-svg/reference/values/index.md) › MarkerUnits

| enum | `UIAwesome\Html\Svg\Values\MarkerUnits` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/Values/MarkerUnits.php`](https://github.com/ui-awesome/html-svg/blob/main/src/Values/MarkerUnits.php#L14) |

Represents literal string values for the SVG `markerUnits` attribute.

Provides the keyword values used by the `markerUnits` attribute.

See also: [`Marker::markerUnits()`](/docs/extensions/html-svg/reference/marker/index.md#method-markerUnits).

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-STROKE_WIDTH"></span>`STROKE_WIDTH` | `'strokeWidth'` | `strokeWidth` - The marker coordinate system has its origin at the marker position on the shape, with units scaled by the stroke width of the shape. |
| <span id="case-USER_SPACE_ON_USE"></span>`USER_SPACE_ON_USE` | `'userSpaceOnUse'` | `userSpaceOnUse` - The marker coordinate system has its origin at the marker position on the shape, but uses the user coordinate system at the time of reference. |