org.atsui.Tabs

Tabbed content with instant client-side switching.

Repository @atsui.org did:plc:e4fjueijznwqm2yxvt7q4mba namespace authority
Details · procedure
Kindprocedure
Authorityatsui.org
Indexed
cid bafyreicoyhfyi73ojwebrotdsmpu7qjem2o5x62ora6wmmzsaohtsjduea

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Tabbed content with instant client-side switching.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "items": {
              "description": "Tabs to display.",
              "items": {
                "ref": "#tab",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "at.inlay.defs#response",
          "type": "ref"
        }
      },
      "type": "procedure"
    },
    "tab": {
      "properties": {
        "content": {
          "description": "Element to render as tab content.",
          "ref": "at.inlay.defs#element",
          "type": "ref"
        },
        "key": {
          "description": "Stable key that identifies the tab among its siblings.",
          "maxLength": 64,
          "type": "string"
        },
        "label": {
          "description": "Display label for the tab.",
          "maxLength": 128,
          "type": "string"
        }
      },
      "required": [
        "key",
        "label",
        "content"
      ],
      "type": "object"
    }
  },
  "id": "org.atsui.Tabs",
  "lexicon": 1
}