---
title: image
description: An image slot — omit `src` for a wireframe placeholder, or give `$a(<sha>.ext)` for a project asset resolved against the host's asset base.
status: shipped
url: https://getairframe.com/framewerk/reference/nodes/image
---

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

# `image`

An image slot — omit `src` for a wireframe placeholder, or give `$a(<sha>.ext)` for a project asset resolved against the host's asset base.

## Example

**image**

```json
{
  "id": "home",
  "layout": {
    "_id": "root",
    "type": "column",
    "gap": 12,
    "padding": 16,
    "children": [
      {
        "_id": "ph",
        "type": "image",
        "height": 120,
        "aspectRatio": "16:9",
        "background": "surface"
      },
      {
        "_id": "cap",
        "type": "text",
        "variant": "caption",
        "content": "Hero image goes here"
      }
    ]
  }
}
```

## States

`objectFit`, aspect ratio; no src = placeholder. 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.
