Webhook Widget
Menu Team rota

Example

Team rota

Who is on now and who is coming in, for a whole shift team.

gridtimelinelive progressoverflow
Team rota Large
json
{
  "v": 1,
  "preferredFamily": "systemLarge",
  "refresh": 3600,
  "url": "https://rota.example.com/today",
  "entries": [
    {
      "at": "2026-08-11T08:40:00Z",
      "accessibility": "2 on now, 8 still to come in today",
      "view": {
        "type": "vstack",
        "align": "leading",
        "spacing": 10,
        "padding": 16,
        "bg": "#101722",
        "text": {"color": "white"},
        "children": [
          {
            "type": "hstack",
            "children": [
              {
                "type": "vstack",
                "align": "leading",
                "spacing": 1,
                "children": [
                  {
                    "type": "text",
                    "text": "HIGH STREET",
                    "style": "caption2",
                    "weight": "bold",
                    "color": "#7F8C99",
                    "tracking": 0.6
                  },
                  {
                    "type": "text",
                    "text": "Today's rota",
                    "style": "title3",
                    "weight": "bold"
                  }
                ]
              },
              {"type": "spacer"},
              {
                "type": "vstack",
                "align": "trailing",
                "spacing": 1,
                "children": [
                  {
                    "type": "text",
                    "text": "Tue 11 Aug",
                    "style": "caption",
                    "weight": "semibold",
                    "color": "#7F8C99"
                  },
                  {
                    "type": "text",
                    "text": "10 on today",
                    "style": "caption",
                    "color": "#7F8C99"
                  }
                ]
              }
            ]
          },
          {
            "type": "hstack",
            "spacing": 6,
            "children": [
              {
                "type": "text",
                "text": "ON NOW",
                "style": "caption2",
                "weight": "bold",
                "color": "green",
                "tracking": 0.6
              },
              {
                "type": "text",
                "text": "2",
                "style": "caption2",
                "weight": "bold",
                "color": "#7F8C99"
              }
            ]
          },
          {
            "type": "grid",
            "spacing": 8,
            "rowSpacing": 7,
            "priority": 1,
            "overflow": "drop",
            "text": {"style": "subheadline", "weight": "semibold", "lines": 1},
            "columns": [
              {"w": "fill"},
              {},
              {"w": 40},
              {
                "align": "trailing",
                "text": {
                  "style": "caption",
                  "weight": "regular",
                  "color": "#9AA4B2",
                  "monoDigits": true
                }
              }
            ],
            "more": {
              "type": "text",
              "text": "+{count} more on shift",
              "style": "caption",
              "color": "#9AA4B2"
            },
            "rows": [
              [
                "Aisha Khan",
                {
                  "type": "text",
                  "text": "Grill",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T07:00:00Z",
                  "until": "2026-08-11T15:00:00Z",
                  "tint": "orange"
                },
                "till 15:00"
              ],
              [
                "Ben Carter",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T08:00:00Z",
                  "until": "2026-08-11T16:30:00Z",
                  "tint": "orange"
                },
                "till 16:30"
              ]
            ]
          },
          {
            "type": "hstack",
            "spacing": 6,
            "children": [
              {
                "type": "text",
                "text": "LATER",
                "style": "caption2",
                "weight": "bold",
                "color": "#9AA4B2",
                "tracking": 0.6
              },
              {
                "type": "text",
                "text": "8",
                "style": "caption2",
                "weight": "bold",
                "color": "#7F8C99"
              }
            ]
          },
          {
            "type": "grid",
            "spacing": 8,
            "rowSpacing": 7,
            "overflow": "drop",
            "text": {"style": "subheadline", "lines": 1, "color": "#C9D1DC"},
            "columns": [
              {"w": "fill"},
              {},
              {
                "align": "trailing",
                "text": {
                  "style": "caption",
                  "color": "#9AA4B2",
                  "monoDigits": true
                }
              }
            ],
            "more": {
              "type": "text",
              "text": "+{count} more later",
              "style": "caption",
              "color": "#9AA4B2"
            },
            "rows": [
              [
                "Chen Wei",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                "09:00–17:00"
              ],
              [
                "Dimitri Popov",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                "10:00–18:30"
              ],
              [
                "Emma-Louise Fairweather",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                "11:30–20:00"
              ],
              [
                "Femi Adeyemi",
                {
                  "type": "text",
                  "text": "Grill",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                "12:00–20:45"
              ],
              [
                "Grace Murphy",
                {
                  "type": "text",
                  "text": "Manager",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "purple",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "purple/20",
                  "corner": 6
                },
                "12:00–21:00"
              ],
              [
                "Hiro Tanaka",
                {
                  "type": "text",
                  "text": "Porter",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "teal",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "teal/20",
                  "corner": 6
                },
                "15:00–21:00"
              ],
              [
                "Isla Brown",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                "16:00–21:00"
              ],
              [
                "Jamal Reid",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                "17:00–21:15"
              ]
            ]
          },
          {"type": "spacer"}
        ]
      }
    },
    {
      "at": "2026-08-11T09:00:00Z",
      "accessibility": "3 on now, 7 still to come in today",
      "view": {
        "type": "vstack",
        "align": "leading",
        "spacing": 10,
        "padding": 16,
        "bg": "#101722",
        "text": {"color": "white"},
        "children": [
          {
            "type": "hstack",
            "children": [
              {
                "type": "vstack",
                "align": "leading",
                "spacing": 1,
                "children": [
                  {
                    "type": "text",
                    "text": "HIGH STREET",
                    "style": "caption2",
                    "weight": "bold",
                    "color": "#7F8C99",
                    "tracking": 0.6
                  },
                  {
                    "type": "text",
                    "text": "Today's rota",
                    "style": "title3",
                    "weight": "bold"
                  }
                ]
              },
              {"type": "spacer"},
              {
                "type": "vstack",
                "align": "trailing",
                "spacing": 1,
                "children": [
                  {
                    "type": "text",
                    "text": "Tue 11 Aug",
                    "style": "caption",
                    "weight": "semibold",
                    "color": "#7F8C99"
                  },
                  {
                    "type": "text",
                    "text": "10 on today",
                    "style": "caption",
                    "color": "#7F8C99"
                  }
                ]
              }
            ]
          },
          {
            "type": "hstack",
            "spacing": 6,
            "children": [
              {
                "type": "text",
                "text": "ON NOW",
                "style": "caption2",
                "weight": "bold",
                "color": "green",
                "tracking": 0.6
              },
              {
                "type": "text",
                "text": "3",
                "style": "caption2",
                "weight": "bold",
                "color": "#7F8C99"
              }
            ]
          },
          {
            "type": "grid",
            "spacing": 8,
            "rowSpacing": 7,
            "priority": 1,
            "overflow": "drop",
            "text": {"style": "subheadline", "weight": "semibold", "lines": 1},
            "columns": [
              {"w": "fill"},
              {},
              {"w": 40},
              {
                "align": "trailing",
                "text": {
                  "style": "caption",
                  "weight": "regular",
                  "color": "#9AA4B2",
                  "monoDigits": true
                }
              }
            ],
            "more": {
              "type": "text",
              "text": "+{count} more on shift",
              "style": "caption",
              "color": "#9AA4B2"
            },
            "rows": [
              [
                "Aisha Khan",
                {
                  "type": "text",
                  "text": "Grill",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T07:00:00Z",
                  "until": "2026-08-11T15:00:00Z",
                  "tint": "orange"
                },
                "till 15:00"
              ],
              [
                "Ben Carter",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T08:00:00Z",
                  "until": "2026-08-11T16:30:00Z",
                  "tint": "orange"
                },
                "till 16:30"
              ],
              [
                "Chen Wei",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T09:00:00Z",
                  "until": "2026-08-11T17:00:00Z",
                  "tint": "green"
                },
                "till 17:00"
              ]
            ]
          },
          {
            "type": "hstack",
            "spacing": 6,
            "children": [
              {
                "type": "text",
                "text": "LATER",
                "style": "caption2",
                "weight": "bold",
                "color": "#9AA4B2",
                "tracking": 0.6
              },
              {
                "type": "text",
                "text": "7",
                "style": "caption2",
                "weight": "bold",
                "color": "#7F8C99"
              }
            ]
          },
          {
            "type": "grid",
            "spacing": 8,
            "rowSpacing": 7,
            "overflow": "drop",
            "text": {"style": "subheadline", "lines": 1, "color": "#C9D1DC"},
            "columns": [
              {"w": "fill"},
              {},
              {
                "align": "trailing",
                "text": {
                  "style": "caption",
                  "color": "#9AA4B2",
                  "monoDigits": true
                }
              }
            ],
            "more": {
              "type": "text",
              "text": "+{count} more later",
              "style": "caption",
              "color": "#9AA4B2"
            },
            "rows": [
              [
                "Dimitri Popov",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                "10:00–18:30"
              ],
              [
                "Emma-Louise Fairweather",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                "11:30–20:00"
              ],
              [
                "Femi Adeyemi",
                {
                  "type": "text",
                  "text": "Grill",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                "12:00–20:45"
              ],
              [
                "Grace Murphy",
                {
                  "type": "text",
                  "text": "Manager",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "purple",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "purple/20",
                  "corner": 6
                },
                "12:00–21:00"
              ],
              [
                "Hiro Tanaka",
                {
                  "type": "text",
                  "text": "Porter",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "teal",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "teal/20",
                  "corner": 6
                },
                "15:00–21:00"
              ],
              [
                "Isla Brown",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                "16:00–21:00"
              ],
              [
                "Jamal Reid",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                "17:00–21:15"
              ]
            ]
          },
          {"type": "spacer"}
        ]
      }
    },
    {
      "at": "2026-08-11T10:00:00Z",
      "accessibility": "4 on now, 6 still to come in today",
      "view": {
        "type": "vstack",
        "align": "leading",
        "spacing": 10,
        "padding": 16,
        "bg": "#101722",
        "text": {"color": "white"},
        "children": [
          {
            "type": "hstack",
            "children": [
              {
                "type": "vstack",
                "align": "leading",
                "spacing": 1,
                "children": [
                  {
                    "type": "text",
                    "text": "HIGH STREET",
                    "style": "caption2",
                    "weight": "bold",
                    "color": "#7F8C99",
                    "tracking": 0.6
                  },
                  {
                    "type": "text",
                    "text": "Today's rota",
                    "style": "title3",
                    "weight": "bold"
                  }
                ]
              },
              {"type": "spacer"},
              {
                "type": "vstack",
                "align": "trailing",
                "spacing": 1,
                "children": [
                  {
                    "type": "text",
                    "text": "Tue 11 Aug",
                    "style": "caption",
                    "weight": "semibold",
                    "color": "#7F8C99"
                  },
                  {
                    "type": "text",
                    "text": "10 on today",
                    "style": "caption",
                    "color": "#7F8C99"
                  }
                ]
              }
            ]
          },
          {
            "type": "hstack",
            "spacing": 6,
            "children": [
              {
                "type": "text",
                "text": "ON NOW",
                "style": "caption2",
                "weight": "bold",
                "color": "green",
                "tracking": 0.6
              },
              {
                "type": "text",
                "text": "4",
                "style": "caption2",
                "weight": "bold",
                "color": "#7F8C99"
              }
            ]
          },
          {
            "type": "grid",
            "spacing": 8,
            "rowSpacing": 7,
            "priority": 1,
            "overflow": "drop",
            "text": {"style": "subheadline", "weight": "semibold", "lines": 1},
            "columns": [
              {"w": "fill"},
              {},
              {"w": 40},
              {
                "align": "trailing",
                "text": {
                  "style": "caption",
                  "weight": "regular",
                  "color": "#9AA4B2",
                  "monoDigits": true
                }
              }
            ],
            "more": {
              "type": "text",
              "text": "+{count} more on shift",
              "style": "caption",
              "color": "#9AA4B2"
            },
            "rows": [
              [
                "Aisha Khan",
                {
                  "type": "text",
                  "text": "Grill",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T07:00:00Z",
                  "until": "2026-08-11T15:00:00Z",
                  "tint": "orange"
                },
                "till 15:00"
              ],
              [
                "Ben Carter",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T08:00:00Z",
                  "until": "2026-08-11T16:30:00Z",
                  "tint": "orange"
                },
                "till 16:30"
              ],
              [
                "Chen Wei",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T09:00:00Z",
                  "until": "2026-08-11T17:00:00Z",
                  "tint": "green"
                },
                "till 17:00"
              ],
              [
                "Dimitri Popov",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T10:00:00Z",
                  "until": "2026-08-11T18:30:00Z",
                  "tint": "orange"
                },
                "till 18:30"
              ]
            ]
          },
          {
            "type": "hstack",
            "spacing": 6,
            "children": [
              {
                "type": "text",
                "text": "LATER",
                "style": "caption2",
                "weight": "bold",
                "color": "#9AA4B2",
                "tracking": 0.6
              },
              {
                "type": "text",
                "text": "6",
                "style": "caption2",
                "weight": "bold",
                "color": "#7F8C99"
              }
            ]
          },
          {
            "type": "grid",
            "spacing": 8,
            "rowSpacing": 7,
            "overflow": "drop",
            "text": {"style": "subheadline", "lines": 1, "color": "#C9D1DC"},
            "columns": [
              {"w": "fill"},
              {},
              {
                "align": "trailing",
                "text": {
                  "style": "caption",
                  "color": "#9AA4B2",
                  "monoDigits": true
                }
              }
            ],
            "more": {
              "type": "text",
              "text": "+{count} more later",
              "style": "caption",
              "color": "#9AA4B2"
            },
            "rows": [
              [
                "Emma-Louise Fairweather",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                "11:30–20:00"
              ],
              [
                "Femi Adeyemi",
                {
                  "type": "text",
                  "text": "Grill",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                "12:00–20:45"
              ],
              [
                "Grace Murphy",
                {
                  "type": "text",
                  "text": "Manager",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "purple",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "purple/20",
                  "corner": 6
                },
                "12:00–21:00"
              ],
              [
                "Hiro Tanaka",
                {
                  "type": "text",
                  "text": "Porter",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "teal",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "teal/20",
                  "corner": 6
                },
                "15:00–21:00"
              ],
              [
                "Isla Brown",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                "16:00–21:00"
              ],
              [
                "Jamal Reid",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                "17:00–21:15"
              ]
            ]
          },
          {"type": "spacer"}
        ]
      }
    },
    {
      "at": "2026-08-11T11:30:00Z",
      "accessibility": "5 on now, 5 still to come in today",
      "view": {
        "type": "vstack",
        "align": "leading",
        "spacing": 10,
        "padding": 16,
        "bg": "#101722",
        "text": {"color": "white"},
        "children": [
          {
            "type": "hstack",
            "children": [
              {
                "type": "vstack",
                "align": "leading",
                "spacing": 1,
                "children": [
                  {
                    "type": "text",
                    "text": "HIGH STREET",
                    "style": "caption2",
                    "weight": "bold",
                    "color": "#7F8C99",
                    "tracking": 0.6
                  },
                  {
                    "type": "text",
                    "text": "Today's rota",
                    "style": "title3",
                    "weight": "bold"
                  }
                ]
              },
              {"type": "spacer"},
              {
                "type": "vstack",
                "align": "trailing",
                "spacing": 1,
                "children": [
                  {
                    "type": "text",
                    "text": "Tue 11 Aug",
                    "style": "caption",
                    "weight": "semibold",
                    "color": "#7F8C99"
                  },
                  {
                    "type": "text",
                    "text": "10 on today",
                    "style": "caption",
                    "color": "#7F8C99"
                  }
                ]
              }
            ]
          },
          {
            "type": "hstack",
            "spacing": 6,
            "children": [
              {
                "type": "text",
                "text": "ON NOW",
                "style": "caption2",
                "weight": "bold",
                "color": "green",
                "tracking": 0.6
              },
              {
                "type": "text",
                "text": "5",
                "style": "caption2",
                "weight": "bold",
                "color": "#7F8C99"
              }
            ]
          },
          {
            "type": "grid",
            "spacing": 8,
            "rowSpacing": 7,
            "priority": 1,
            "overflow": "drop",
            "text": {"style": "subheadline", "weight": "semibold", "lines": 1},
            "columns": [
              {"w": "fill"},
              {},
              {"w": 40},
              {
                "align": "trailing",
                "text": {
                  "style": "caption",
                  "weight": "regular",
                  "color": "#9AA4B2",
                  "monoDigits": true
                }
              }
            ],
            "more": {
              "type": "text",
              "text": "+{count} more on shift",
              "style": "caption",
              "color": "#9AA4B2"
            },
            "rows": [
              [
                "Aisha Khan",
                {
                  "type": "text",
                  "text": "Grill",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T07:00:00Z",
                  "until": "2026-08-11T15:00:00Z",
                  "tint": "orange"
                },
                "till 15:00"
              ],
              [
                "Ben Carter",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T08:00:00Z",
                  "until": "2026-08-11T16:30:00Z",
                  "tint": "orange"
                },
                "till 16:30"
              ],
              [
                "Chen Wei",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T09:00:00Z",
                  "until": "2026-08-11T17:00:00Z",
                  "tint": "green"
                },
                "till 17:00"
              ],
              [
                "Dimitri Popov",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T10:00:00Z",
                  "until": "2026-08-11T18:30:00Z",
                  "tint": "orange"
                },
                "till 18:30"
              ],
              [
                "Emma-Louise Fairweather",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T11:30:00Z",
                  "until": "2026-08-11T20:00:00Z",
                  "tint": "green"
                },
                "till 20:00"
              ]
            ]
          },
          {
            "type": "hstack",
            "spacing": 6,
            "children": [
              {
                "type": "text",
                "text": "LATER",
                "style": "caption2",
                "weight": "bold",
                "color": "#9AA4B2",
                "tracking": 0.6
              },
              {
                "type": "text",
                "text": "5",
                "style": "caption2",
                "weight": "bold",
                "color": "#7F8C99"
              }
            ]
          },
          {
            "type": "grid",
            "spacing": 8,
            "rowSpacing": 7,
            "overflow": "drop",
            "text": {"style": "subheadline", "lines": 1, "color": "#C9D1DC"},
            "columns": [
              {"w": "fill"},
              {},
              {
                "align": "trailing",
                "text": {
                  "style": "caption",
                  "color": "#9AA4B2",
                  "monoDigits": true
                }
              }
            ],
            "more": {
              "type": "text",
              "text": "+{count} more later",
              "style": "caption",
              "color": "#9AA4B2"
            },
            "rows": [
              [
                "Femi Adeyemi",
                {
                  "type": "text",
                  "text": "Grill",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                "12:00–20:45"
              ],
              [
                "Grace Murphy",
                {
                  "type": "text",
                  "text": "Manager",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "purple",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "purple/20",
                  "corner": 6
                },
                "12:00–21:00"
              ],
              [
                "Hiro Tanaka",
                {
                  "type": "text",
                  "text": "Porter",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "teal",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "teal/20",
                  "corner": 6
                },
                "15:00–21:00"
              ],
              [
                "Isla Brown",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                "16:00–21:00"
              ],
              [
                "Jamal Reid",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                "17:00–21:15"
              ]
            ]
          },
          {"type": "spacer"}
        ]
      }
    },
    {
      "at": "2026-08-11T12:00:00Z",
      "accessibility": "7 on now, 3 still to come in today",
      "view": {
        "type": "vstack",
        "align": "leading",
        "spacing": 10,
        "padding": 16,
        "bg": "#101722",
        "text": {"color": "white"},
        "children": [
          {
            "type": "hstack",
            "children": [
              {
                "type": "vstack",
                "align": "leading",
                "spacing": 1,
                "children": [
                  {
                    "type": "text",
                    "text": "HIGH STREET",
                    "style": "caption2",
                    "weight": "bold",
                    "color": "#7F8C99",
                    "tracking": 0.6
                  },
                  {
                    "type": "text",
                    "text": "Today's rota",
                    "style": "title3",
                    "weight": "bold"
                  }
                ]
              },
              {"type": "spacer"},
              {
                "type": "vstack",
                "align": "trailing",
                "spacing": 1,
                "children": [
                  {
                    "type": "text",
                    "text": "Tue 11 Aug",
                    "style": "caption",
                    "weight": "semibold",
                    "color": "#7F8C99"
                  },
                  {
                    "type": "text",
                    "text": "10 on today",
                    "style": "caption",
                    "color": "#7F8C99"
                  }
                ]
              }
            ]
          },
          {
            "type": "hstack",
            "spacing": 6,
            "children": [
              {
                "type": "text",
                "text": "ON NOW",
                "style": "caption2",
                "weight": "bold",
                "color": "green",
                "tracking": 0.6
              },
              {
                "type": "text",
                "text": "7",
                "style": "caption2",
                "weight": "bold",
                "color": "#7F8C99"
              }
            ]
          },
          {
            "type": "grid",
            "spacing": 8,
            "rowSpacing": 7,
            "priority": 1,
            "overflow": "drop",
            "text": {"style": "subheadline", "weight": "semibold", "lines": 1},
            "columns": [
              {"w": "fill"},
              {},
              {"w": 40},
              {
                "align": "trailing",
                "text": {
                  "style": "caption",
                  "weight": "regular",
                  "color": "#9AA4B2",
                  "monoDigits": true
                }
              }
            ],
            "more": {
              "type": "text",
              "text": "+{count} more on shift",
              "style": "caption",
              "color": "#9AA4B2"
            },
            "rows": [
              [
                "Aisha Khan",
                {
                  "type": "text",
                  "text": "Grill",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T07:00:00Z",
                  "until": "2026-08-11T15:00:00Z",
                  "tint": "orange"
                },
                "till 15:00"
              ],
              [
                "Ben Carter",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T08:00:00Z",
                  "until": "2026-08-11T16:30:00Z",
                  "tint": "orange"
                },
                "till 16:30"
              ],
              [
                "Chen Wei",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T09:00:00Z",
                  "until": "2026-08-11T17:00:00Z",
                  "tint": "green"
                },
                "till 17:00"
              ],
              [
                "Dimitri Popov",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T10:00:00Z",
                  "until": "2026-08-11T18:30:00Z",
                  "tint": "orange"
                },
                "till 18:30"
              ],
              [
                "Emma-Louise Fairweather",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T11:30:00Z",
                  "until": "2026-08-11T20:00:00Z",
                  "tint": "green"
                },
                "till 20:00"
              ],
              [
                "Femi Adeyemi",
                {
                  "type": "text",
                  "text": "Grill",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T12:00:00Z",
                  "until": "2026-08-11T20:45:00Z",
                  "tint": "orange"
                },
                "till 20:45"
              ],
              [
                "Grace Murphy",
                {
                  "type": "text",
                  "text": "Manager",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "purple",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "purple/20",
                  "corner": 6
                },
                {
                  "type": "gauge",
                  "from": "2026-08-11T12:00:00Z",
                  "until": "2026-08-11T21:00:00Z",
                  "tint": "purple"
                },
                "till 21:00"
              ]
            ]
          },
          {
            "type": "hstack",
            "spacing": 6,
            "children": [
              {
                "type": "text",
                "text": "LATER",
                "style": "caption2",
                "weight": "bold",
                "color": "#9AA4B2",
                "tracking": 0.6
              },
              {
                "type": "text",
                "text": "3",
                "style": "caption2",
                "weight": "bold",
                "color": "#7F8C99"
              }
            ]
          },
          {
            "type": "grid",
            "spacing": 8,
            "rowSpacing": 7,
            "overflow": "drop",
            "text": {"style": "subheadline", "lines": 1, "color": "#C9D1DC"},
            "columns": [
              {"w": "fill"},
              {},
              {
                "align": "trailing",
                "text": {
                  "style": "caption",
                  "color": "#9AA4B2",
                  "monoDigits": true
                }
              }
            ],
            "more": {
              "type": "text",
              "text": "+{count} more later",
              "style": "caption",
              "color": "#9AA4B2"
            },
            "rows": [
              [
                "Hiro Tanaka",
                {
                  "type": "text",
                  "text": "Porter",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "teal",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "teal/20",
                  "corner": 6
                },
                "15:00–21:00"
              ],
              [
                "Isla Brown",
                {
                  "type": "text",
                  "text": "Floor",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "green",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "green/20",
                  "corner": 6
                },
                "16:00–21:00"
              ],
              [
                "Jamal Reid",
                {
                  "type": "text",
                  "text": "Kitchen",
                  "style": "caption2",
                  "weight": "semibold",
                  "color": "orange",
                  "padding": {"top": 2, "bottom": 2, "leading": 6, "trailing": 6},
                  "bg": "orange/20",
                  "corner": 6
                },
                "17:00–21:15"
              ]
            ]
          },
          {"type": "spacer"}
        ]
      }
    }
  ]
}
This payload is for the large size. For a smaller size, the server sends a different payload.

How it works

A manager's view of today's shifts. The server reads the rota once an hour and returns the whole day. Each shift start and finish is an entry, so a person moves from Later to On now, and off the list, at the correct minute without another fetch.

Both lists are grids. Each column is as wide as its widest cell, so names, roles and times align and the payload sets no widths. The name column has "w": "fill". It takes the remaining width and is truncated first when a name is long.

The bar beside each person who is on now is a gauge with from and until: the start and finish of their shift. The phone animates the bar between fetches.

The Later grid has "overflow": "drop". When there are more shifts than fit, the phone leaves out complete rows and the more row shows how many. This works at every text size, because the phone decides how many rows fit. The On now grid has priority: 1, so it keeps its space and the Later grid loses rows first.

A role pill is a text with a corner and a bg of a semantic colour with an opacity: orange/20. A background is the same size as its node, including padding, so a pill needs no shapes and no fixed sizes.

Put it on your Home Screen

We serve this example at the URL below. The server generates the timestamps at the time of each request. Add the URL as a hook in the app, and the widget works on your phone.

URL
https://webhookwidget.com/demo/rota

Open the payload →

Next

Weather: Conditions now and the next six hours.
All examples