# Background

A detail-screen container that paints a surface, fills height, and aligns its content with token-scale padding and safe-area insets.

Version: 0.2.0-preview.1 (preview)
Content digest: 70ac710f4d22dce040e7ac593379ba8aca9dcb59a0b9c0f839819cae0e2bb721
Contract kind: source-derived
Source: packages/design-system/src/components/layout/Background/Background.tsx

## Guidance

{
  "summary": "A detail-screen container that paints a surface, fills height, and aligns its content with token-scale padding and safe-area insets.",
  "guidance": [
    {
      "heading": "Overview",
      "body": "Parent container for detail, modal, and standalone screens: it paints a `page` / `surface`\nbackground, fills the available height, and centers its content by default."
    },
    {
      "heading": "When to use",
      "body": "Reach for `Background` when a screen needs a **surface plus alignment but not the sticky route\nchrome** of `Screen` — a confirmation, paywall, or empty state. It is a flex column, so `align`\nis the horizontal (cross) axis and `justify` the vertical (main) axis; `justify=\"between\"` pins\ncontent to the top and bottom edges.\n\n-   Building a **full route** with a header, scrolling body, and footer? Use `Screen`.\n-   Laying out the content **inside** the surface? Use `VStack` / `HStack` / `Grid`."
    }
  ],
  "usage": [],
  "examples": [],
  "source": "packages/design-system/src/components/layout/Background/Background.mdx",
  "status": "local-preview",
  "note": "Guidance is read from local documentation, originally imported from the frozen source. Platform assertions in guidance are not parity verification."
}

## Contract and public API

```json
{
  "props": [
    {
      "name": "surface",
      "type": "BackgroundSurface | undefined",
      "declared_type": "BackgroundSurface",
      "required": false,
      "description": "Background token the surface paints. Defaults to `page`.",
      "source": {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 33
      },
      "values": [
        "page",
        "surface"
      ],
      "values_complete": true,
      "default": "'page'",
      "default_kind": "source-expression"
    },
    {
      "name": "align",
      "type": "BackgroundAlign | undefined",
      "declared_type": "BackgroundAlign",
      "required": false,
      "description": "Horizontal alignment of content. Defaults to `center`.",
      "source": {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 35
      },
      "values": [
        "center",
        "end",
        "start",
        "stretch"
      ],
      "values_complete": true,
      "default": "'center'",
      "default_kind": "source-expression"
    },
    {
      "name": "justify",
      "type": "BackgroundJustify | undefined",
      "declared_type": "BackgroundJustify",
      "required": false,
      "description": "Vertical distribution of content. Defaults to `start` (top).",
      "source": {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 37
      },
      "values": [
        "between",
        "center",
        "end",
        "start"
      ],
      "values_complete": true,
      "default": "'start'",
      "default_kind": "source-expression"
    },
    {
      "name": "fill",
      "type": "boolean | undefined",
      "declared_type": "boolean",
      "required": false,
      "description": "Fill the available height (`min-height: 100%`). Defaults to true.",
      "source": {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 39
      },
      "values": [
        false,
        true
      ],
      "values_complete": true,
      "default": "true",
      "default_kind": "source-expression"
    },
    {
      "name": "safeArea",
      "type": "BackgroundSafeArea | undefined",
      "declared_type": "BackgroundSafeArea",
      "required": false,
      "description": "Adds safe-area insets to padding edges. Defaults to `'none'`.",
      "source": {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 41
      },
      "values": [
        "both",
        "bottom",
        "none",
        "top"
      ],
      "values_complete": true,
      "default": "'none'",
      "default_kind": "source-expression"
    },
    {
      "name": "style",
      "type": "React.CSSProperties | undefined",
      "declared_type": "React.CSSProperties",
      "required": false,
      "description": "",
      "source": {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 42
      }
    },
    {
      "name": "className",
      "type": "string | undefined",
      "declared_type": "string",
      "required": false,
      "description": "",
      "source": {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 43
      }
    },
    {
      "name": "children",
      "type": "React.ReactNode",
      "declared_type": "React.ReactNode",
      "required": false,
      "description": "",
      "source": {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 44
      }
    },
    {
      "name": "testId",
      "type": "string | undefined",
      "declared_type": "string",
      "required": false,
      "description": "Optional test selector, placed on the root element.",
      "source": {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 46
      }
    },
    {
      "name": "padding",
      "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
      "declared_type": "CdsSpace",
      "required": false,
      "description": "Padding on all four sides.",
      "source": {
        "path": "packages/design-system/src/components/layout/resolvePadding.ts",
        "line": 10
      },
      "values": [
        0,
        12,
        120,
        16,
        20,
        24,
        240,
        32,
        4,
        40,
        48,
        56,
        64,
        72,
        8,
        80,
        96
      ],
      "values_complete": true
    },
    {
      "name": "paddingX",
      "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
      "declared_type": "CdsSpace",
      "required": false,
      "description": "Horizontal padding (left + right). Overrides `padding` on the X axis.",
      "source": {
        "path": "packages/design-system/src/components/layout/resolvePadding.ts",
        "line": 12
      },
      "values": [
        0,
        12,
        120,
        16,
        20,
        24,
        240,
        32,
        4,
        40,
        48,
        56,
        64,
        72,
        8,
        80,
        96
      ],
      "values_complete": true
    },
    {
      "name": "paddingY",
      "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
      "declared_type": "CdsSpace",
      "required": false,
      "description": "Vertical padding (top + bottom). Overrides `padding` on the Y axis.",
      "source": {
        "path": "packages/design-system/src/components/layout/resolvePadding.ts",
        "line": 14
      },
      "values": [
        0,
        12,
        120,
        16,
        20,
        24,
        240,
        32,
        4,
        40,
        48,
        56,
        64,
        72,
        8,
        80,
        96
      ],
      "values_complete": true
    },
    {
      "name": "paddingTop",
      "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
      "declared_type": "CdsSpace",
      "required": false,
      "description": "Top padding. Overrides `paddingY` and `padding`.",
      "source": {
        "path": "packages/design-system/src/components/layout/resolvePadding.ts",
        "line": 16
      },
      "values": [
        0,
        12,
        120,
        16,
        20,
        24,
        240,
        32,
        4,
        40,
        48,
        56,
        64,
        72,
        8,
        80,
        96
      ],
      "values_complete": true
    },
    {
      "name": "paddingRight",
      "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
      "declared_type": "CdsSpace",
      "required": false,
      "description": "Right padding. Overrides `paddingX` and `padding`.",
      "source": {
        "path": "packages/design-system/src/components/layout/resolvePadding.ts",
        "line": 18
      },
      "values": [
        0,
        12,
        120,
        16,
        20,
        24,
        240,
        32,
        4,
        40,
        48,
        56,
        64,
        72,
        8,
        80,
        96
      ],
      "values_complete": true
    },
    {
      "name": "paddingBottom",
      "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
      "declared_type": "CdsSpace",
      "required": false,
      "description": "Bottom padding. Overrides `paddingY` and `padding`.",
      "source": {
        "path": "packages/design-system/src/components/layout/resolvePadding.ts",
        "line": 20
      },
      "values": [
        0,
        12,
        120,
        16,
        20,
        24,
        240,
        32,
        4,
        40,
        48,
        56,
        64,
        72,
        8,
        80,
        96
      ],
      "values_complete": true
    },
    {
      "name": "paddingLeft",
      "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
      "declared_type": "CdsSpace",
      "required": false,
      "description": "Left padding. Overrides `paddingX` and `padding`.",
      "source": {
        "path": "packages/design-system/src/components/layout/resolvePadding.ts",
        "line": 22
      },
      "values": [
        0,
        12,
        120,
        16,
        20,
        24,
        240,
        32,
        4,
        40,
        48,
        56,
        64,
        72,
        8,
        80,
        96
      ],
      "values_complete": true
    }
  ],
  "prop_shapes": {},
  "api": {
    "method": "typescript-type-checker",
    "typescript_version": "5.9.3",
    "public_export": "Background",
    "public_path": "Background",
    "import_path": "@cloakedinc/design-system",
    "root_kind": "component",
    "entrypoints": [
      {
        "name": "Background",
        "signature": 1,
        "visibility": "public",
        "source": {
          "path": "packages/design-system/src/components/layout/Background/Background.tsx",
          "line": 53
        },
        "props_type": "BackgroundProps",
        "props": [
          {
            "name": "surface",
            "type": "BackgroundSurface | undefined",
            "declared_type": "BackgroundSurface",
            "required": false,
            "description": "Background token the surface paints. Defaults to `page`.",
            "source": {
              "path": "packages/design-system/src/components/layout/Background/Background.tsx",
              "line": 33
            },
            "values": [
              "page",
              "surface"
            ],
            "values_complete": true,
            "default": "'page'",
            "default_kind": "source-expression"
          },
          {
            "name": "align",
            "type": "BackgroundAlign | undefined",
            "declared_type": "BackgroundAlign",
            "required": false,
            "description": "Horizontal alignment of content. Defaults to `center`.",
            "source": {
              "path": "packages/design-system/src/components/layout/Background/Background.tsx",
              "line": 35
            },
            "values": [
              "center",
              "end",
              "start",
              "stretch"
            ],
            "values_complete": true,
            "default": "'center'",
            "default_kind": "source-expression"
          },
          {
            "name": "justify",
            "type": "BackgroundJustify | undefined",
            "declared_type": "BackgroundJustify",
            "required": false,
            "description": "Vertical distribution of content. Defaults to `start` (top).",
            "source": {
              "path": "packages/design-system/src/components/layout/Background/Background.tsx",
              "line": 37
            },
            "values": [
              "between",
              "center",
              "end",
              "start"
            ],
            "values_complete": true,
            "default": "'start'",
            "default_kind": "source-expression"
          },
          {
            "name": "fill",
            "type": "boolean | undefined",
            "declared_type": "boolean",
            "required": false,
            "description": "Fill the available height (`min-height: 100%`). Defaults to true.",
            "source": {
              "path": "packages/design-system/src/components/layout/Background/Background.tsx",
              "line": 39
            },
            "values": [
              false,
              true
            ],
            "values_complete": true,
            "default": "true",
            "default_kind": "source-expression"
          },
          {
            "name": "safeArea",
            "type": "BackgroundSafeArea | undefined",
            "declared_type": "BackgroundSafeArea",
            "required": false,
            "description": "Adds safe-area insets to padding edges. Defaults to `'none'`.",
            "source": {
              "path": "packages/design-system/src/components/layout/Background/Background.tsx",
              "line": 41
            },
            "values": [
              "both",
              "bottom",
              "none",
              "top"
            ],
            "values_complete": true,
            "default": "'none'",
            "default_kind": "source-expression"
          },
          {
            "name": "style",
            "type": "React.CSSProperties | undefined",
            "declared_type": "React.CSSProperties",
            "required": false,
            "description": "",
            "source": {
              "path": "packages/design-system/src/components/layout/Background/Background.tsx",
              "line": 42
            }
          },
          {
            "name": "className",
            "type": "string | undefined",
            "declared_type": "string",
            "required": false,
            "description": "",
            "source": {
              "path": "packages/design-system/src/components/layout/Background/Background.tsx",
              "line": 43
            }
          },
          {
            "name": "children",
            "type": "React.ReactNode",
            "declared_type": "React.ReactNode",
            "required": false,
            "description": "",
            "source": {
              "path": "packages/design-system/src/components/layout/Background/Background.tsx",
              "line": 44
            }
          },
          {
            "name": "testId",
            "type": "string | undefined",
            "declared_type": "string",
            "required": false,
            "description": "Optional test selector, placed on the root element.",
            "source": {
              "path": "packages/design-system/src/components/layout/Background/Background.tsx",
              "line": 46
            }
          },
          {
            "name": "padding",
            "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
            "declared_type": "CdsSpace",
            "required": false,
            "description": "Padding on all four sides.",
            "source": {
              "path": "packages/design-system/src/components/layout/resolvePadding.ts",
              "line": 10
            },
            "values": [
              0,
              12,
              120,
              16,
              20,
              24,
              240,
              32,
              4,
              40,
              48,
              56,
              64,
              72,
              8,
              80,
              96
            ],
            "values_complete": true
          },
          {
            "name": "paddingX",
            "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
            "declared_type": "CdsSpace",
            "required": false,
            "description": "Horizontal padding (left + right). Overrides `padding` on the X axis.",
            "source": {
              "path": "packages/design-system/src/components/layout/resolvePadding.ts",
              "line": 12
            },
            "values": [
              0,
              12,
              120,
              16,
              20,
              24,
              240,
              32,
              4,
              40,
              48,
              56,
              64,
              72,
              8,
              80,
              96
            ],
            "values_complete": true
          },
          {
            "name": "paddingY",
            "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
            "declared_type": "CdsSpace",
            "required": false,
            "description": "Vertical padding (top + bottom). Overrides `padding` on the Y axis.",
            "source": {
              "path": "packages/design-system/src/components/layout/resolvePadding.ts",
              "line": 14
            },
            "values": [
              0,
              12,
              120,
              16,
              20,
              24,
              240,
              32,
              4,
              40,
              48,
              56,
              64,
              72,
              8,
              80,
              96
            ],
            "values_complete": true
          },
          {
            "name": "paddingTop",
            "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
            "declared_type": "CdsSpace",
            "required": false,
            "description": "Top padding. Overrides `paddingY` and `padding`.",
            "source": {
              "path": "packages/design-system/src/components/layout/resolvePadding.ts",
              "line": 16
            },
            "values": [
              0,
              12,
              120,
              16,
              20,
              24,
              240,
              32,
              4,
              40,
              48,
              56,
              64,
              72,
              8,
              80,
              96
            ],
            "values_complete": true
          },
          {
            "name": "paddingRight",
            "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
            "declared_type": "CdsSpace",
            "required": false,
            "description": "Right padding. Overrides `paddingX` and `padding`.",
            "source": {
              "path": "packages/design-system/src/components/layout/resolvePadding.ts",
              "line": 18
            },
            "values": [
              0,
              12,
              120,
              16,
              20,
              24,
              240,
              32,
              4,
              40,
              48,
              56,
              64,
              72,
              8,
              80,
              96
            ],
            "values_complete": true
          },
          {
            "name": "paddingBottom",
            "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
            "declared_type": "CdsSpace",
            "required": false,
            "description": "Bottom padding. Overrides `paddingY` and `padding`.",
            "source": {
              "path": "packages/design-system/src/components/layout/resolvePadding.ts",
              "line": 20
            },
            "values": [
              0,
              12,
              120,
              16,
              20,
              24,
              240,
              32,
              4,
              40,
              48,
              56,
              64,
              72,
              8,
              80,
              96
            ],
            "values_complete": true
          },
          {
            "name": "paddingLeft",
            "type": "0 | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96 | 120 | 240 | undefined",
            "declared_type": "CdsSpace",
            "required": false,
            "description": "Left padding. Overrides `paddingX` and `padding`.",
            "source": {
              "path": "packages/design-system/src/components/layout/resolvePadding.ts",
              "line": 22
            },
            "values": [
              0,
              12,
              120,
              16,
              20,
              24,
              240,
              32,
              4,
              40,
              48,
              56,
              64,
              72,
              8,
              80,
              96
            ],
            "values_complete": true
          }
        ],
        "branches": [],
        "constraints": [],
        "extraction_status": "extracted"
      }
    ],
    "type_sources": [
      {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 8,
        "name": "BackgroundSurface",
        "code": "export type BackgroundSurface = 'page' | 'surface';"
      },
      {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 9,
        "name": "BackgroundAlign",
        "code": "export type BackgroundAlign = 'start' | 'center' | 'end' | 'stretch';"
      },
      {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 10,
        "name": "BackgroundJustify",
        "code": "export type BackgroundJustify = 'start' | 'center' | 'end' | 'between';"
      },
      {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 11,
        "name": "BackgroundSafeArea",
        "code": "export type BackgroundSafeArea = 'none' | 'top' | 'bottom' | 'both';"
      },
      {
        "path": "packages/design-system/src/components/layout/Background/Background.tsx",
        "line": 31,
        "name": "BackgroundProps",
        "code": "export interface BackgroundProps extends PaddingProps {\n    /** Background token the surface paints. Defaults to `page`. */\n    surface?: BackgroundSurface;\n    /** Horizontal alignment of content. Defaults to `center`. */\n    align?: BackgroundAlign;\n    /** Vertical distribution of content. Defaults to `start` (top). */\n    justify?: BackgroundJustify;\n    /** Fill the available height (`min-height: 100%`). Defaults to true. */\n    fill?: boolean;\n    /** Adds safe-area insets to padding edges. Defaults to `'none'`. */\n    safeArea?: BackgroundSafeArea;\n    style?: React.CSSProperties;\n    className?: string;\n    children?: React.ReactNode;\n    /** Optional test selector, placed on the root element. */\n    testId?: string;\n}"
      },
      {
        "path": "packages/design-system/src/components/layout/resolvePadding.ts",
        "line": 8,
        "name": "PaddingProps",
        "code": "export interface PaddingProps {\n    /** Padding on all four sides. */\n    padding?: CdsSpace;\n    /** Horizontal padding (left + right). Overrides `padding` on the X axis. */\n    paddingX?: CdsSpace;\n    /** Vertical padding (top + bottom). Overrides `padding` on the Y axis. */\n    paddingY?: CdsSpace;\n    /** Top padding. Overrides `paddingY` and `padding`. */\n    paddingTop?: CdsSpace;\n    /** Right padding. Overrides `paddingX` and `padding`. */\n    paddingRight?: CdsSpace;\n    /** Bottom padding. Overrides `paddingY` and `padding`. */\n    paddingBottom?: CdsSpace;\n    /** Left padding. Overrides `paddingX` and `padding`. */\n    paddingLeft?: CdsSpace;\n}"
      },
      {
        "path": "packages/design-system/src/tokens/CdsSpace.ts",
        "line": 8,
        "name": "PUI_SPACES",
        "code": "PUI_SPACES = [0, 4, 8, 12, 16, 20, 24, 32, 40, 48, 56, 64, 72, 80, 96, 120, 240] as const"
      },
      {
        "path": "packages/design-system/src/tokens/CdsSpace.ts",
        "line": 13,
        "name": "CdsSpace",
        "code": "export type CdsSpace = (typeof PUI_SPACES)[number];"
      }
    ],
    "defaults_policy": "Only explicit destructured parameter initializers are extracted. Other runtime defaults remain in implementation source."
  },
  "spec": {
    "$schema": "../../../specs/component-spec.schema.json",
    "identity": {
      "name": "Background",
      "status": "preview",
      "version": "1.0.0",
      "summary": "A detail-screen container that paints a surface, fills height, and aligns its content with token-scale padding and safe-area insets."
    },
    "parts": [
      {
        "id": "root",
        "label": "Root",
        "description": "Flex column that paints the surface and lays out content. Structural container.",
        "required": true
      }
    ],
    "allowedDesignChoices": {
      "variants": {
        "container": {
          "label": "Container",
          "description": "The single background container."
        }
      },
      "sizes": {},
      "surfaces": {
        "page": {
          "label": "Page",
          "description": "Paints the page background."
        },
        "surface": {
          "label": "Surface",
          "description": "Paints the raised surface background."
        }
      },
      "alignments": {
        "start": {
          "label": "Start"
        },
        "center": {
          "label": "Center"
        },
        "end": {
          "label": "End"
        },
        "stretch": {
          "label": "Stretch"
        }
      },
      "justifications": {
        "start": {
          "label": "Start"
        },
        "center": {
          "label": "Center"
        },
        "end": {
          "label": "End"
        },
        "between": {
          "label": "Between"
        }
      }
    },
    "variants": [
      {
        "id": "container",
        "label": "Container",
        "description": "Surface-painting layout container.",
        "platforms": [
          "ios",
          "android",
          "web"
        ]
      }
    ],
    "sizes": [],
    "measurements": [
      {
        "id": "content-padding",
        "label": "Content padding",
        "kind": "example-only",
        "token": "--cds-space-24",
        "value": 24,
        "unit": "px",
        "appliesTo": [
          "root"
        ],
        "notes": "Representative value: padding is author-configurable and accepts any step on the spacing scale. 24 is the value rendered and verified by the WithPadding story."
      }
    ],
    "layout": {
      "alignment": "align sets the horizontal (cross) axis; justify sets the vertical (main) axis.",
      "flow": "A flex column that fills height by default and centers content.",
      "notes": [
        "Use Screen when a route needs sticky header/footer chrome; use Background for a plain centered surface."
      ]
    },
    "typographyAndColor": {
      "typography": [
        {
          "label": "Inherited",
          "description": "Background sets no type; children own their text. Ramp noted for parity.",
          "token": "--cds-type-body-size"
        }
      ],
      "colors": [
        {
          "label": "Page surface",
          "description": "The page surface paints the page background.",
          "token": "--cds-bg-page"
        },
        {
          "label": "Raised surface",
          "description": "The surface option paints the raised background.",
          "token": "--cds-bg-surface"
        }
      ]
    },
    "states": [
      {
        "id": "page",
        "label": "Page",
        "description": "Page background surface."
      },
      {
        "id": "surface",
        "label": "Surface",
        "description": "Raised background surface."
      },
      {
        "id": "not-filled",
        "label": "Not filled",
        "description": "fill=false sizes the surface to its content."
      }
    ],
    "behavior": [
      {
        "label": "Fill",
        "description": "fill (default) makes the surface fill the parent height."
      },
      {
        "label": "Safe area",
        "description": "safeArea adds env(safe-area-inset-*) on top of the configured padding."
      }
    ],
    "accessibility": [
      {
        "label": "Presentational",
        "description": "Background is a layout container and adds no roles."
      },
      {
        "label": "Safe insets",
        "description": "Safe-area insets keep content clear of the notch and home indicator."
      }
    ],
    "contentAdaptation": [
      {
        "label": "Alignment",
        "description": "justify=between with align=stretch pins a header to the top and a footer to the bottom."
      },
      {
        "label": "Per-edge padding",
        "description": "Per-edge padding overrides layer on top of the uniform padding."
      }
    ],
    "motionHaptics": {
      "motion": [
        {
          "label": "None",
          "description": "Background does not animate on its own."
        }
      ],
      "haptics": [
        {
          "label": "None",
          "description": "A layout container requests no haptics."
        }
      ]
    },
    "platformDifferences": []
  },
  "platforms": {
    "implemented": [
      "web"
    ],
    "native": "Imported design guidance only; no native implementation or parity verification in this preview.",
    "react": {
      "implementation": "local",
      "status": "preview",
      "parity": "web-reference"
    },
    "vue": {
      "implementation": "absent",
      "parity": "not-verified",
      "status": "reference-only"
    },
    "swift": {
      "implementation": "absent",
      "parity": "not-verified",
      "status": "reference-only"
    },
    "kotlin": {
      "implementation": "absent",
      "parity": "not-verified",
      "status": "reference-only"
    }
  },
  "tokens": [
    {
      "name": "--cds-space-24",
      "light": "24px",
      "dark": "24px"
    },
    {
      "name": "--cds-type-body-size",
      "light": "1rem",
      "dark": "1rem"
    },
    {
      "name": "--cds-bg-page",
      "light": "#f3f1ed",
      "dark": "#141410"
    },
    {
      "name": "--cds-bg-surface",
      "light": "#ffffff",
      "dark": "#1b1b18"
    }
  ],
  "review": {
    "local_status": "not-reviewed",
    "source_approval": null,
    "imported_spec_status": "approved",
    "spec_origin": "imported-adapted",
    "local_spec_source_status": "approved",
    "imported_source_revision": "f96f416e1c3bfbfaffcd155a88b87b18b8bb25f1",
    "note": "Inherited specification status is provenance, not approval of the current local implementation or extracted contract."
  },
  "missing_facts": [
    {
      "code": "human-review-pending",
      "detail": "This local preview has no recorded human design or engineering sign-off."
    },
    {
      "code": "platform-parity-unverified",
      "detail": "Vue, Swift and Kotlin implementations are absent from this package; platform parity has not been verified."
    },
    {
      "code": "figma-mapping-unverified",
      "detail": "No current component-level Figma node and immutable revision have been verified for this contract."
    }
  ]
}
```

## Visual states

- [Playground](/storybook/iframe.html?id=cloaked-design-system-layout-background--playground&viewMode=story) | export: Playground | source: packages/design-system/src/components/layout/Background/Background.stories.tsx

- [Centered](/storybook/iframe.html?id=cloaked-design-system-layout-background--centered&viewMode=story) | export: Centered | source: packages/design-system/src/components/layout/Background/Background.stories.tsx

- [Top Aligned](/storybook/iframe.html?id=cloaked-design-system-layout-background--top-aligned&viewMode=story) | export: TopAligned | source: packages/design-system/src/components/layout/Background/Background.stories.tsx

- [Space Between](/storybook/iframe.html?id=cloaked-design-system-layout-background--space-between&viewMode=story) | export: SpaceBetween | source: packages/design-system/src/components/layout/Background/Background.stories.tsx

- [With Padding](/storybook/iframe.html?id=cloaked-design-system-layout-background--with-padding&viewMode=story) | export: WithPadding | source: packages/design-system/src/components/layout/Background/Background.stories.tsx

- [Safe Area Top](/storybook/iframe.html?id=cloaked-design-system-layout-background--safe-area-top&viewMode=story) | export: SafeAreaTop | source: packages/design-system/src/components/layout/Background/Background.stories.tsx

- [Safe Area Bottom](/storybook/iframe.html?id=cloaked-design-system-layout-background--safe-area-bottom&viewMode=story) | export: SafeAreaBottom | source: packages/design-system/src/components/layout/Background/Background.stories.tsx

- [Safe Area Both](/storybook/iframe.html?id=cloaked-design-system-layout-background--safe-area-both&viewMode=story) | export: SafeAreaBoth | source: packages/design-system/src/components/layout/Background/Background.stories.tsx

- [Not Filled](/storybook/iframe.html?id=cloaked-design-system-layout-background--not-filled&viewMode=story) | export: NotFilled | source: packages/design-system/src/components/layout/Background/Background.stories.tsx

- [Dark Theme](/storybook/iframe.html?id=cloaked-design-system-layout-background--dark-theme&viewMode=story) | export: DarkTheme | source: packages/design-system/src/components/layout/Background/Background.stories.tsx

Preview pending human sign-off. Source-derived APIs and successful checks do not certify accessibility, native parity or approval.
