# net.wireservice.component.container

> Published by [wireservice.net](https://lexicon.garden/identity/did:plc:lktj64hp7lc3fzuf6iyy7lwj)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.component.container)
- [Documentation](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.component.container/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.component.container/examples)

## Definitions

### `net.wireservice.component.container`

**Type**: `object`

Container component for grouping child components. Uses recursive refs following the Leaflet/Pckt precedent for nested structures.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `children` | `array` | No | Child components within this container. |
| `hidden` | `boolean` | No |  |
| `identifier` | `string` | No |  |
| `layout` | `string` | No |  |
| `role` | `string` | No | Semantic role of the container. |
| `style` | `string` | No |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Container component for grouping child components. Uses recursive refs following the Leaflet/Pckt precedent for nested structures.",
      "properties": {
        "children": {
          "description": "Child components within this container.",
          "items": {
            "closed": false,
            "refs": [
              "net.wireservice.component.body",
              "net.wireservice.component.heading",
              "net.wireservice.component.image",
              "net.wireservice.component.photo",
              "net.wireservice.component.video",
              "net.wireservice.component.audio",
              "net.wireservice.component.gallery",
              "net.wireservice.component.container",
              "net.wireservice.component.divider",
              "net.wireservice.component.quote",
              "net.wireservice.component.byline",
              "net.wireservice.component.embed",
              "net.wireservice.component.map",
              "net.wireservice.component.linkButton",
              "net.wireservice.component.adSlot"
            ],
            "type": "union"
          },
          "type": "array"
        },
        "hidden": {
          "type": "boolean"
        },
        "identifier": {
          "maxLength": 256,
          "type": "string"
        },
        "layout": {
          "maxLength": 256,
          "type": "string"
        },
        "role": {
          "description": "Semantic role of the container.",
          "knownValues": [
            "container",
            "header",
            "section",
            "chapter",
            "aside"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "style": {
          "maxLength": 256,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "net.wireservice.component.container",
  "lexicon": 1
}
```
