---
title: path
description: A single-path vector that renders without `allowRawSvg`, because `d` is validated data rather than markup.
status: shipped
url: https://getairframe.com/framewerk/reference/nodes/path
---

> Part of the Framewerk docs. Index of every page: /framewerk/llms.txt

# `path`

A single-path vector that renders without `allowRawSvg`, because `d` is validated data rather than markup.

## Example

**path**

```json
{
  "id": "home",
  "layout": {
    "_id": "root",
    "type": "column",
    "padding": 16,
    "children": [
      {
        "_id": "p",
        "type": "path",
        "d": "M20 6 9 17l-5-5",
        "stroke": "var(--accent)",
        "strokeWidth": 2,
        "width": 24,
        "height": 24
      }
    ]
  }
}
```

## States

Path grammar validation; malformed `d` renders an empty box. Common to every node: `hover` / `press` / `focus` CSS bags, `showWhen` / `hideWhen`, `animate`.

## Stability

This node type is part of the format contract: adding an optional prop is additive; removing the node or narrowing an existing prop is breaking. Prop tables are generated from the schema; this page carries the prose.
