# org.atsui.Grid

> Published by [atsui.org](https://lexicon.garden/identity/did:plc:e4fjueijznwqm2yxvt7q4mba)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:e4fjueijznwqm2yxvt7q4mba/org.atsui.Grid)
- [Documentation](https://lexicon.garden/lexicon/did:plc:e4fjueijznwqm2yxvt7q4mba/org.atsui.Grid/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:e4fjueijznwqm2yxvt7q4mba/org.atsui.Grid/examples)

## Definitions

### `org.atsui.Grid`

**Type**: `procedure`

Arranges children in a grid of equal columns.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `gap` | `string` | No | Space between children. |
| `columns` | `integer` | No | Number of equal columns. |
| `children` | `unknown` | Yes |  |

#### Output

**Encoding**: `application/json`

## Raw Schema

```json
{
  "id": "org.atsui.Grid",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "children"
          ],
          "properties": {
            "gap": {
              "type": "string",
              "default": "small",
              "maxLength": 32,
              "description": "Space between children.",
              "knownValues": [
                "none",
                "small",
                "medium",
                "large"
              ]
            },
            "columns": {
              "type": "integer",
              "default": 3,
              "minimum": 1,
              "description": "Number of equal columns."
            },
            "children": {
              "type": "unknown"
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "ref": "at.inlay.defs#response",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "Arranges children in a grid of equal columns."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
