# net.wireservice.component.heading

> 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.heading)
- [Documentation](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.component.heading/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.component.heading/examples)

## Definitions

### `net.wireservice.component.heading`

**Type**: `object`

Heading component. The level field indicates the heading depth.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `content` | `array` | Yes | Rich text content as an array of text runs with optional formatting marks. |
| `hidden` | `boolean` | No |  |
| `identifier` | `string` | No |  |
| `layout` | `string` | No | Reference to a named component layout. |
| `level` | `integer` | No | Heading level (1 = most prominent, 6 = least). |
| `style` | `string` | No | Reference to a named component style. |
| `textStyle` | `string` | No | Reference to a named text style. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Heading component. The level field indicates the heading depth.",
      "properties": {
        "content": {
          "description": "Rich text content as an array of text runs with optional formatting marks.",
          "items": {
            "ref": "net.wireservice.defs#textRun",
            "type": "ref"
          },
          "type": "array"
        },
        "hidden": {
          "type": "boolean"
        },
        "identifier": {
          "maxLength": 256,
          "type": "string"
        },
        "layout": {
          "description": "Reference to a named component layout.",
          "maxLength": 256,
          "type": "string"
        },
        "level": {
          "description": "Heading level (1 = most prominent, 6 = least).",
          "maximum": 6,
          "minimum": 1,
          "type": "integer"
        },
        "style": {
          "description": "Reference to a named component style.",
          "maxLength": 256,
          "type": "string"
        },
        "textStyle": {
          "description": "Reference to a named text style.",
          "maxLength": 256,
          "type": "string"
        }
      },
      "required": [
        "content"
      ],
      "type": "object"
    }
  },
  "id": "net.wireservice.component.heading",
  "lexicon": 1
}
```
