---
title: screen-container
description: The screen root wrapper: it applies the screen padding, background and text colour that everything inside inherits, and scrolls by default.
status: shipped
url: https://getairframe.com/framewerk/reference/nodes/screen-container
---

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

# `screen-container`

The screen root wrapper: it applies the screen padding, background and text colour that everything inside inherits, and scrolls by default.

## Example

**screen-container**

```json
{
  "id": "sc",
  "layout": {
    "_id": "root",
    "type": "screen-container",
    "children": [
      {
        "_id": "h",
        "type": "text",
        "variant": "heading",
        "content": "Home"
      },
      {
        "_id": "b",
        "type": "text",
        "content": "Body copy"
      }
    ]
  }
}
```

## States

Scroll on/off (`scroll`). 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.
