---
title: row
description: A horizontal flex container — children sit side by side along the main axis.
status: shipped
url: https://getairframe.com/framewerk/reference/nodes/row
---

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

# `row`

A horizontal flex container — children sit side by side along the main axis.

## Example

**row**

```json
{
  "id": "home",
  "layout": {
    "_id": "root",
    "type": "row",
    "gap": 8,
    "padding": 16,
    "align": "center",
    "children": [
      {
        "_id": "i",
        "type": "icon",
        "name": "coffee"
      },
      {
        "_id": "t",
        "type": "text",
        "variant": "heading",
        "content": "Cart"
      }
    ]
  }
}
```

## States

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.
