Skip to main content
All components

ComponentTabs

5 of 5 upstream examples match. Razor component: <NhsukTabs>

Default

Contents

Past day
Case manager Cases opened Cases closed
David Francis 3 0
Paul Farmer 1 0
Rita Patel 2 0
Past week
Case manager Cases opened Cases closed
David Francis 24 18
Paul Farmer 16 20
Rita Patel 24 27
Past month
Case manager Cases opened Cases closed
David Francis 98 95
Paul Farmer 122 131
Rita Patel 126 142
Past year
Case manager Cases opened Cases closed
David Francis 1380 1472
Paul Farmer 1129 1083
Rita Patel 1539 1265
Razor Pages and MVC
<nhsuk-tabs
    id-prefix="example"
    items="@([
        new TabsItemsItem
        {
            Label = "Past day",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past day
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        3
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        2
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past week",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past week
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        18
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        16
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        20
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        27
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past month",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past month
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        98
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        95
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        122
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        131
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        126
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        142
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past year",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past year
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1380
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1472
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1129
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1083
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1539
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1265
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
    ])"
/>
Blazor
<NhsukTabs
    IdPrefix="example"
    Items="@([
        new TabsItemsItem
        {
            Label = "Past day",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past day
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        3
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        2
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past week",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past week
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        18
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        16
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        20
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        27
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past month",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past month
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        98
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        95
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        122
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        131
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        126
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        142
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past year",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past year
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1380
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1472
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1129
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1083
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1539
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1265
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
    ])"
/>
Nunjucks (upstream)
{% from "nhsuk/components/tabs/macro.njk" import tabs %}

{{ tabs({
  "idPrefix": "example",
  "items": [
    {
      "label": "Past day",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past day\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        3\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        2\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past week",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past week\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        24\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        18\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        16\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        20\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        24\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        27\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past month",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past month\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        98\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        95\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        122\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        131\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        126\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        142\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past year",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past year\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1380\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1472\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1129\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1083\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1539\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1265\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    }
  ]
}) }}

With anchor in panel

Contents

Tab 1 content

Testing that when you click the link it moves focus.

Tab 2 content

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.

Tab 3 content

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?

Razor Pages and MVC
<nhsuk-tabs
    id-prefix="with-anchor"
    items="@([
        new TabsItemsItem
        {
            Label = "Tab 1",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"<h2>Tab 1 content</h2>
<p>Testing that when you <a href=""#anchor"">click the link</a> it moves focus.</p>
<ul>
  <li><a href=""#with-anchor-1"" id=""anchor"">Tab panel 1</a></li>
  <li><a href=""#with-anchor-2"">Tab panel 2</a></li>
  <li><a href=""#with-anchor-3"">Tab panel 3</a></li>
</ul>",
            },
        },
        new TabsItemsItem
        {
            Label = "Tab 2",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"<h2>Tab 2 content</h2>
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.</p>",
            },
        },
        new TabsItemsItem
        {
            Label = "Tab 3",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"<h2>Tab 3 content</h2>
<p>Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?</p>",
            },
        },
    ])"
/>
Blazor
<NhsukTabs
    IdPrefix="with-anchor"
    Items="@([
        new TabsItemsItem
        {
            Label = "Tab 1",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"<h2>Tab 1 content</h2>
<p>Testing that when you <a href=""#anchor"">click the link</a> it moves focus.</p>
<ul>
  <li><a href=""#with-anchor-1"" id=""anchor"">Tab panel 1</a></li>
  <li><a href=""#with-anchor-2"">Tab panel 2</a></li>
  <li><a href=""#with-anchor-3"">Tab panel 3</a></li>
</ul>",
            },
        },
        new TabsItemsItem
        {
            Label = "Tab 2",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"<h2>Tab 2 content</h2>
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.</p>",
            },
        },
        new TabsItemsItem
        {
            Label = "Tab 3",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"<h2>Tab 3 content</h2>
<p>Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?</p>",
            },
        },
    ])"
/>
Nunjucks (upstream)
{% from "nhsuk/components/tabs/macro.njk" import tabs %}

{{ tabs({
  "idPrefix": "with-anchor",
  "items": [
    {
      "label": "Tab 1",
      "panel": {
        "html": "<h2>Tab 1 content</h2>\n<p>Testing that when you <a href=\"#anchor\">click the link</a> it moves focus.</p>\n<ul>\n  <li><a href=\"#with-anchor-1\" id=\"anchor\">Tab panel 1</a></li>\n  <li><a href=\"#with-anchor-2\">Tab panel 2</a></li>\n  <li><a href=\"#with-anchor-3\">Tab panel 3</a></li>\n</ul>"
      }
    },
    {
      "label": "Tab 2",
      "panel": {
        "html": "<h2>Tab 2 content</h2>\n<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.</p>"
      }
    },
    {
      "label": "Tab 3",
      "panel": {
        "html": "<h2>Tab 3 content</h2>\n<p>Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?</p>"
      }
    }
  ]
}) }}

With id attribute

Contents

Past day
Case manager Cases opened Cases closed
David Francis 3 0
Paul Farmer 1 0
Rita Patel 2 0
Past week
Case manager Cases opened Cases closed
David Francis 24 18
Paul Farmer 16 20
Rita Patel 24 27
Past month
Case manager Cases opened Cases closed
David Francis 98 95
Paul Farmer 122 131
Rita Patel 126 142
Past year
Case manager Cases opened Cases closed
David Francis 1380 1472
Paul Farmer 1129 1083
Rita Patel 1539 1265
Razor Pages and MVC
<nhsuk-tabs
    id="tab-id-attribute"
    items="@([
        new TabsItemsItem
        {
            Label = "Past day",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past day
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        3
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        2
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past week",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past week
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        18
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        16
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        20
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        27
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past month",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past month
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        98
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        95
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        122
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        131
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        126
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        142
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past year",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past year
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1380
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1472
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1129
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1083
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1539
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1265
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
    ])"
/>
Blazor
<NhsukTabs
    Id="tab-id-attribute"
    Items="@([
        new TabsItemsItem
        {
            Label = "Past day",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past day
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        3
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        2
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past week",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past week
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        18
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        16
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        20
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        27
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past month",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past month
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        98
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        95
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        122
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        131
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        126
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        142
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past year",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past year
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1380
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1472
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1129
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1083
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1539
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1265
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
    ])"
/>
Nunjucks (upstream)
{% from "nhsuk/components/tabs/macro.njk" import tabs %}

{{ tabs({
  "id": "tab-id-attribute",
  "items": [
    {
      "label": "Past day",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past day\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        3\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        2\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past week",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past week\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        24\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        18\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        16\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        20\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        24\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        27\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past month",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past month\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        98\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        95\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        122\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        131\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        126\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        142\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past year",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past year\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1380\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1472\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1129\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1083\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1539\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1265\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    }
  ]
}) }}

With id attribute on panels

Contents

Past day
Case manager Cases opened Cases closed
David Francis 3 0
Paul Farmer 1 0
Rita Patel 2 0
Past week
Case manager Cases opened Cases closed
David Francis 24 18
Paul Farmer 16 20
Rita Patel 24 27
Past month
Case manager Cases opened Cases closed
David Francis 98 95
Paul Farmer 122 131
Rita Patel 126 142
Past year
Case manager Cases opened Cases closed
David Francis 1380 1472
Paul Farmer 1129 1083
Rita Patel 1539 1265
Razor Pages and MVC
<nhsuk-tabs
    items="@([
        new TabsItemsItem
        {
            Label = "Past day",
            Id = "past-day",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past day
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        3
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        2
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past week",
            Id = "past-week",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past week
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        18
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        16
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        20
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        27
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past month",
            Id = "past-month",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past month
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        98
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        95
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        122
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        131
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        126
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        142
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past year",
            Id = "past-year",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past year
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1380
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1472
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1129
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1083
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1539
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1265
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
    ])"
/>
Blazor
<NhsukTabs
    Items="@([
        new TabsItemsItem
        {
            Label = "Past day",
            Id = "past-day",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past day
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        3
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        2
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past week",
            Id = "past-week",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past week
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        18
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        16
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        20
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        27
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past month",
            Id = "past-month",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past month
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        98
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        95
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        122
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        131
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        126
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        142
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past year",
            Id = "past-year",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past year
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1380
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1472
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1129
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1083
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1539
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1265
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
    ])"
/>
Nunjucks (upstream)
{% from "nhsuk/components/tabs/macro.njk" import tabs %}

{{ tabs({
  "items": [
    {
      "label": "Past day",
      "id": "past-day",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past day\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        3\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        2\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past week",
      "id": "past-week",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past week\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        24\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        18\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        16\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        20\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        24\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        27\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past month",
      "id": "past-month",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past month\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        98\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        95\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        122\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        131\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        126\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        142\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past year",
      "id": "past-year",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past year\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1380\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1472\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1129\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1083\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1539\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1265\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    }
  ]
}) }}

With visually hidden text

Cases per manager

Past day
Case manager Cases opened Cases closed
David Francis 3 0
Paul Farmer 1 0
Rita Patel 2 0
Past week
Case manager Cases opened Cases closed
David Francis 24 18
Paul Farmer 16 20
Rita Patel 24 27
Past month
Case manager Cases opened Cases closed
David Francis 98 95
Paul Farmer 122 131
Rita Patel 126 142
Past year
Case manager Cases opened Cases closed
David Francis 1380 1472
Paul Farmer 1129 1083
Rita Patel 1539 1265
Razor Pages and MVC
<nhsuk-tabs
    id-prefix="visually-hidden"
    visually-hidden-text="Cases per manager"
    items="@([
        new TabsItemsItem
        {
            Label = "Past day",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past day
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        3
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        2
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past week",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past week
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        18
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        16
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        20
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        27
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past month",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past month
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        98
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        95
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        122
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        131
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        126
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        142
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past year",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past year
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1380
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1472
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1129
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1083
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1539
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1265
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
    ])"
/>
Blazor
<NhsukTabs
    IdPrefix="visually-hidden"
    VisuallyHiddenText="Cases per manager"
    Items="@([
        new TabsItemsItem
        {
            Label = "Past day",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past day
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        3
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        2
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        0
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past week",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past week
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        18
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        16
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        20
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        24
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        27
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past month",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past month
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        98
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        95
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        122
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        131
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        126
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        142
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
        new TabsItemsItem
        {
            Label = "Past year",
            Panel = new TabsItemsPanelOptions
            {
                Html = @"
<table class=""nhsuk-table"">
  <caption class=""nhsuk-table__caption"">
    Past year
  </caption>
  <thead class=""nhsuk-table__head"">
    <tr class=""nhsuk-table__row"">
      <th class=""nhsuk-table__header"" scope=""col"">
        Case manager
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases opened
      </th>
      <th class=""nhsuk-table__header nhsuk-table__header--numeric"" scope=""col"">
        Cases closed
      </th>
    </tr>
  </thead>
  <tbody class=""nhsuk-table__body"">
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        David Francis
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1380
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1472
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Paul Farmer
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1129
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1083
      </td>
    </tr>
    <tr class=""nhsuk-table__row"">
      <td class=""nhsuk-table__cell"">
        Rita Patel
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1539
      </td>
      <td class=""nhsuk-table__cell nhsuk-table__cell--numeric"">
        1265
      </td>
    </tr>
  </tbody>
</table>
",
            },
        },
    ])"
/>
Nunjucks (upstream)
{% from "nhsuk/components/tabs/macro.njk" import tabs %}

{{ tabs({
  "idPrefix": "visually-hidden",
  "visuallyHiddenText": "Cases per manager",
  "items": [
    {
      "label": "Past day",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past day\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        3\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        2\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        0\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past week",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past week\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        24\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        18\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        16\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        20\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        24\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        27\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past month",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past month\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        98\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        95\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        122\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        131\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        126\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        142\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    },
    {
      "label": "Past year",
      "panel": {
        "html": "\n<table class=\"nhsuk-table\">\n  <caption class=\"nhsuk-table__caption\">\n    Past year\n  </caption>\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th class=\"nhsuk-table__header\" scope=\"col\">\n        Case manager\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases opened\n      </th>\n      <th class=\"nhsuk-table__header nhsuk-table__header--numeric\" scope=\"col\">\n        Cases closed\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        David Francis\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1380\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1472\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Paul Farmer\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1129\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1083\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <td class=\"nhsuk-table__cell\">\n        Rita Patel\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1539\n      </td>\n      <td class=\"nhsuk-table__cell nhsuk-table__cell--numeric\">\n        1265\n      </td>\n    </tr>\n  </tbody>\n</table>\n"
      }
    }
  ]
}) }}