App pieces
The frame, dock, tab bar, grids of buttons, raised panel, rows, empty lists, tiles and pinned table a phone app is drawn from.
Each piece is shown twice: live in your theme, marked Live, and as a preview in the other. Under each name is the code behind it. To see the other theme live, choose Light or Dark next to Theme, at the top of the page. The frame, with its dock, and the tab bar are pictures in both themes, since a live copy would give this page a second main heading and a second set of places to go. Under each picture’s name, a sentence says what a screen reader finds in it.
App frame
A screen with a bar, a body and a dock
The code behind it:
class="dk-app"withdk-app-bar dk-app-title dk-button dk-button-text dk-app-body dk-app-toast dk-toast dk-toast-message dk-visually-hidden dk-toast-status dk-toast-buttons dk-toast-action dk-button-quiet dk-toast-close dk-app-dock dk-button-accent dk-button-tall dk-app-tabs dk-tabbarA screen reader finds the heading “Round 3” and a “Scores” button. The main content says “Ana leads by twelve points, with two rounds to play.” Then comes a section named “Actions” that holds “Save the round”, and a navigation named “Sections” with Play marked as the current page.
LightDark, a picture
Round 3
Ana leads by twelve points, with two rounds to play.
LightDark, a picture
Round 3
Ana leads by twelve points, with two rounds to play.
The code, A screen with a bar, a body and a dock
Markup, A screen with a bar, a body and a dock<div class="dk-app"> <header class="dk-app-bar"> <h1 class="dk-app-title">Round 3</h1> <button type="button" class="dk-button dk-button-text">Scores</button> </header> <main id="round-3" tabindex="0" class="dk-app-body"> <p>Ana leads by twelve points, with two rounds to play.</p> </main> <div class="dk-app-toast"> <div class="dk-toast"> <p class="dk-toast-message" aria-hidden="true"></p> <p class="dk-visually-hidden dk-toast-status" role="status"></p> <div class="dk-toast-buttons"> <button type="button" tabindex="0" class="dk-button dk-button-text dk-toast-action" hidden="" ></button> <button type="button" tabindex="0" class="dk-button dk-button-text dk-button-quiet dk-toast-close" hidden="" > <span aria-hidden="true">×</span> <span class="dk-visually-hidden">Close</span> </button> </div> </div> </div> <section class="dk-app-dock" aria-label="Actions"> <button type="button" class="dk-button dk-button-accent dk-button-tall"> Save the round </button> </section> <nav class="dk-app-tabs dk-tabbar" aria-label="Sections"> <ul> <li> <a href="./" aria-current="page"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M8 5v14l11-7z" fill="currentColor"></path> </svg> Play </a> </li> <li> <a href="./"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z" fill="currentColor"></path> </svg> Games </a> </li> <li> <a href="./"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M5 13h3v6H5zm5.5-6h3v12h-3zM16 4h3v15h-3z" fill="currentColor" ></path> </svg> Stats </a> </li> </ul> </nav> </div>A screen with a toast above its dock
The code behind it:
data-shownwithdk-app dk-app-bar dk-app-title dk-button dk-button-text dk-app-body dk-app-toast dk-toast dk-toast-message dk-visually-hidden dk-toast-status dk-toast-buttons dk-toast-action dk-button-quiet dk-toast-close dk-app-dock dk-button-accent dk-button-tall dk-app-tabs dk-tabbarA screen reader finds everything the screen with a bar, a body and a dock holds. As the toast comes, it hears “Round 3 saved. Undo is available.” once, between the main content and “Actions”. Then come an “Undo” button, which F8 reaches from anywhere on the screen, and a “Close” button.
LightDark, a picture
Round 3
Ana leads by twelve points, with two rounds to play.
Round 3 saved. Undo is available.
LightDark, a picture
Round 3
Ana leads by twelve points, with two rounds to play.
Round 3 saved. Undo is available.
The code, A screen with a toast above its dock
Markup, A screen with a toast above its dock<div class="dk-app"> <header class="dk-app-bar"> <h1 class="dk-app-title">Round 3</h1> <button type="button" class="dk-button dk-button-text">Scores</button> </header> <main id="round-3-saved" tabindex="0" class="dk-app-body"> <p>Ana leads by twelve points, with two rounds to play.</p> </main> <div class="dk-app-toast"> <div class="dk-toast" data-shown=""> <p class="dk-toast-message" aria-hidden="true">Round 3 saved.</p> <p class="dk-visually-hidden dk-toast-status" role="status"> Round 3 saved. Undo is available. </p> <div class="dk-toast-buttons"> <button type="button" tabindex="0" class="dk-button dk-button-text dk-toast-action" aria-keyshortcuts="F8" > Undo </button> <button type="button" tabindex="0" class="dk-button dk-button-text dk-button-quiet dk-toast-close" > <span aria-hidden="true">×</span> <span class="dk-visually-hidden">Close</span> </button> </div> </div> </div> <section class="dk-app-dock" aria-label="Actions"> <button type="button" class="dk-button dk-button-accent dk-button-tall"> Save the round </button> </section> <nav class="dk-app-tabs dk-tabbar" aria-label="Sections"> <ul> <li> <a href="./" aria-current="page"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M8 5v14l11-7z" fill="currentColor"></path> </svg> Play </a> </li> <li> <a href="./"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z" fill="currentColor"></path> </svg> Games </a> </li> <li> <a href="./"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M5 13h3v6H5zm5.5-6h3v12h-3zM16 4h3v15h-3z" fill="currentColor" ></path> </svg> Stats </a> </li> </ul> </nav> </div>A screen with a compact action beside its main one
The code behind it:
class="dk-app-dock-inline"withdk-app dk-app-bar dk-app-title dk-button dk-button-text dk-app-body dk-app-toast dk-toast dk-toast-message dk-visually-hidden dk-toast-status dk-toast-buttons dk-toast-action dk-button-quiet dk-toast-close dk-app-dock dk-button-tall dk-button-accent dk-app-tabs dk-tabbarA screen reader finds everything the screen with a bar, a body and a dock holds, with “Undo” before “Save the round” in the section named “Actions”.
LightDark, a picture
Round 3
Ana leads by twelve points, with two rounds to play.
LightDark, a picture
Round 3
Ana leads by twelve points, with two rounds to play.
The code, A screen with a compact action beside its main one
Markup, A screen with a compact action beside its main one<div class="dk-app"> <header class="dk-app-bar"> <h1 class="dk-app-title">Round 3</h1> <button type="button" class="dk-button dk-button-text">Scores</button> </header> <main id="round-3-undo" tabindex="0" class="dk-app-body"> <p>Ana leads by twelve points, with two rounds to play.</p> </main> <div class="dk-app-toast"> <div class="dk-toast"> <p class="dk-toast-message" aria-hidden="true"></p> <p class="dk-visually-hidden dk-toast-status" role="status"></p> <div class="dk-toast-buttons"> <button type="button" tabindex="0" class="dk-button dk-button-text dk-toast-action" hidden="" ></button> <button type="button" tabindex="0" class="dk-button dk-button-text dk-button-quiet dk-toast-close" hidden="" > <span aria-hidden="true">×</span> <span class="dk-visually-hidden">Close</span> </button> </div> </div> </div> <section class="dk-app-dock" aria-label="Actions"> <div class="dk-app-dock-inline"> <button type="button" class="dk-button dk-button-tall">Undo</button> <button type="button" class="dk-button dk-button-accent dk-button-tall"> Save the round </button> </div> </section> <nav class="dk-app-tabs dk-tabbar" aria-label="Sections"> <ul> <li> <a href="./" aria-current="page"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M8 5v14l11-7z" fill="currentColor"></path> </svg> Play </a> </li> <li> <a href="./"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z" fill="currentColor"></path> </svg> Games </a> </li> <li> <a href="./"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M5 13h3v6H5zm5.5-6h3v12h-3zM16 4h3v15h-3z" fill="currentColor" ></path> </svg> Stats </a> </li> </ul> </nav> </div>
What the tests check for App frame
These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.
e2e/app.spec.ts, in a browsere2e/dock.spec.ts, in a browser
Tab bar
Places at the bottom of a screen, one the current place
The code behind it:
class="dk-tabbar"A screen reader finds a navigation named “Sections” with links to Play, Games and Stats. Play is marked as the current page.
LightDark, a picture
LightDark, a picture
The code, Places at the bottom of a screen, one the current place
Markup, Places at the bottom of a screen, one the current place<nav class="dk-tabbar" aria-label="Sections"> <ul> <li> <a href="./" aria-current="page"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M8 5v14l11-7z" fill="currentColor"></path> </svg> Play </a> </li> <li> <a href="./"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z" fill="currentColor"></path> </svg> Games </a> </li> <li> <a href="./"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M5 13h3v6H5zm5.5-6h3v12h-3zM16 4h3v15h-3z" fill="currentColor"></path> </svg> Stats </a> </li> </ul> </nav>A page that scrolls whole and ends in a tab bar
The code behind it:
class="dk-tabbar-page"withdk-tabbarA screen reader finds the main content, with the heading “Games” and the line “Every game played, the newest first.” Then comes a navigation named “Sections” with Games marked as the current page.
LightDark, a picture
LightDark, a picture
The code, A page that scrolls whole and ends in a tab bar
Markup, A page that scrolls whole and ends in a tab bar<div class="dk-tabbar-page"> <main id="games"> <h1>Games</h1> <p>Every game played, the newest first.</p> </main> <nav class="dk-tabbar" aria-label="Sections"> <ul> <li> <a href="./"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M8 5v14l11-7z" fill="currentColor"></path> </svg> Play </a> </li> <li> <a href="./" aria-current="page"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z" fill="currentColor"></path> </svg> Games </a> </li> <li> <a href="./"> <svg aria-hidden="true" viewBox="0 0 24 24"> <path d="M5 13h3v6H5zm5.5-6h3v12h-3zM16 4h3v15h-3z" fill="currentColor" ></path> </svg> Stats </a> </li> </ul> </nav> </div>
What the tests check for Tab bar
These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.
e2e/tabbar.spec.ts, in a browser
Button grid
Cards in a hand, two picked
The code behind it:
aria-pressed="true"withdk-button-grid dk-buttonLightDark, preview only
The code, Cards in a hand, two picked
Markup, Cards in a hand, two picked<div class="dk-button-grid" role="group" aria-label="Cards in hand"> <button type="button" class="dk-button" aria-pressed="true">7</button> <button type="button" class="dk-button" aria-pressed="false">8</button> <button type="button" class="dk-button" aria-pressed="true">9</button> <button type="button" class="dk-button" aria-pressed="false">10</button> <button type="button" class="dk-button" aria-pressed="false">11</button> <button type="button" class="dk-button" aria-pressed="false">12</button> </div>React, Cards in a hand, two picked<div className="dk-button-grid" role="group" aria-label="Cards in hand"> <Button pressed>7</Button> <Button pressed={false}>8</Button> <Button pressed>9</Button> <Button pressed={false}>10</Button> <Button pressed={false}>11</Button> <Button pressed={false}>12</Button> </div>A pad of keys
The code behind it:
class="dk-button-grid"withdk-stack dk-split dk-stack-pair dk-note dk-numeral dk-button dk-button-icon dk-icon dk-visually-hidden dk-button-accentLightDark, preview only
The code, A pad of keys
Markup, A pad of keys<div class="dk-stack"> <div class="dk-split"> <div class="dk-stack dk-stack-pair"> <p class="dk-note"><label for="to-add">Points to add</label></p> <p class="dk-numeral"><output id="to-add" name="entry">0</output></p> </div> <div class="dk-stack dk-stack-pair"> <p class="dk-note"><label for="score-total">Total</label></p> <p class="dk-numeral"><output id="score-total" name="total">0</output></p> </div> </div> <div class="dk-button-grid" role="group" aria-label="Score"> <button type="button" class="dk-button">1</button> <button type="button" class="dk-button">2</button> <button type="button" class="dk-button">3</button> <button type="button" class="dk-button dk-button-icon"> <svg class="dk-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24"> <path d="M8 4h13v16H8l-6-8z"></path> <path d="m11 9 6 6m0-6-6 6"></path> </svg> <span class="dk-visually-hidden">Delete</span> </button> <button type="button" class="dk-button">0</button> <button type="button" class="dk-button dk-button-accent">Add</button> </div> </div>React, A pad of keys<div className="dk-stack"> <div className="dk-split"> <div className="dk-stack dk-stack-pair"> <p className="dk-note"> <label htmlFor="to-add">Points to add</label> </p> <p className="dk-numeral"> <output id="to-add" name="entry"> 0 </output> </p> </div> <div className="dk-stack dk-stack-pair"> <p className="dk-note"> <label htmlFor="score-total">Total</label> </p> <p className="dk-numeral"> <output id="score-total" name="total"> 0 </output> </p> </div> </div> <div className="dk-button-grid" role="group" aria-label="Score"> <Button>1</Button> <Button>2</Button> <Button>3</Button> <Button icon> <svg className="dk-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24"> <path d="M8 4h13v16H8l-6-8z" /> <path d="m11 9 6 6m0-6-6 6" /> </svg> <span className="dk-visually-hidden">Delete</span> </Button> <Button>0</Button> <Button accent>Add</Button> </div> </div>Tall keys, pressed at arm's length
The code behind it:
class="dk-button-grid dk-button-grid-tall"withdk-stack dk-stack-pair dk-note dk-numeral dk-buttonLightDark, preview only
The code, Tall keys, pressed at arm's length
Markup, Tall keys, pressed at arm's length<div class="dk-stack"> <div class="dk-stack dk-stack-pair"> <p class="dk-note"><label for="points-total">Total</label></p> <p class="dk-numeral"><output id="points-total" name="total">0</output></p> </div> <div class="dk-button-grid dk-button-grid-tall" role="group" aria-label="Points"> <button type="button" class="dk-button">+1</button> <button type="button" class="dk-button">+5</button> <button type="button" class="dk-button">+10</button> </div> </div>React, Tall keys, pressed at arm's length<div className="dk-stack"> <div className="dk-stack dk-stack-pair"> <p className="dk-note"> <label htmlFor="points-total">Total</label> </p> <p className="dk-numeral"> <output id="points-total" name="total"> 0 </output> </p> </div> <div className="dk-button-grid dk-button-grid-tall" role="group" aria-label="Points"> <Button>+1</Button> <Button>+5</Button> <Button>+10</Button> </div> </div>
What the tests check for Button grid
These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.
e2e/buttongrid.spec.ts, in a browser
Raised panel
The one place to go next
The code behind it:
class="dk-panel dk-panel-raised"withdk-panel-title dk-button dk-button-accent dk-button-tallThe pieces together
A raised panel, tiles and tabs, stacked as an app’s home page stacks them.
See the pieces togetherLightDark, preview only
The pieces together
A raised panel, tiles and tabs, stacked as an app’s home page stacks them.
See the pieces togetherThe code, The one place to go next
Markup, The one place to go next<div class="dk-panel dk-panel-raised"> <p class="dk-panel-title">The pieces together</p> <p>A raised panel, tiles and tabs, stacked as an app’s home page stacks them.</p> <a class="dk-button dk-button-accent dk-button-tall" href="../together/"> See the pieces together </a> </div>
What the tests check for Raised panel
These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.
e2e/app.spec.ts, in a browsere2e/rows.spec.ts, in a browser
Rows
Rows that each lead to a page
The code behind it:
class="dk-row-sign"withdk-rows dk-row dk-row-text dk-row-title dk-visually-hidden dk-row-detailLightDark, preview only
The code, Rows that each lead to a page
Markup, Rows that each lead to a page<ul class="dk-rows" role="list"> <li> <a class="dk-row" href="../tokens/"> <span class="dk-row-text"> <span class="dk-row-title">Tokens and theme</span> <span class="dk-visually-hidden">, </span> <span class="dk-row-detail">Colors, their contrast and sizes</span> </span> <span class="dk-row-sign" aria-hidden="true">›</span> </a> </li> <li> <a class="dk-row" href="../controls/"> <span class="dk-row-text"> <span class="dk-row-title">Controls</span> <span class="dk-visually-hidden">, </span> <span class="dk-row-detail">Buttons, fields and dialogs</span> </span> <span class="dk-row-sign" aria-hidden="true">›</span> </a> </li> </ul>Rows that each hold a button
The code behind it:
class="dk-rows"withdk-row dk-row-text dk-row-title dk-row-detail dk-button dk-button-text dk-visually-hidden- AnaPlayed 12 games
- BenPlayed 9 games
LightDark, preview only
- AnaPlayed 12 games
- BenPlayed 9 games
The code, Rows that each hold a button
Markup, Rows that each hold a button<ul class="dk-rows" role="list"> <li> <div class="dk-row"> <span class="dk-row-text"> <span class="dk-row-title">Ana</span> <span class="dk-row-detail">Played 12 games</span> </span> <button type="button" class="dk-button dk-button-text"> Remove <span class="dk-visually-hidden"> Ana</span> </button> </div> </li> <li> <div class="dk-row"> <span class="dk-row-text"> <span class="dk-row-title">Ben</span> <span class="dk-row-detail">Played 9 games</span> </span> <button type="button" class="dk-button dk-button-text"> Remove <span class="dk-visually-hidden"> Ben</span> </button> </div> </li> </ul>Rows ending in a figure
The code behind it:
class="dk-row-figure"withdk-rows dk-row dk-row-text dk-row-title dk-visually-hidden- Ana, 152 points
- Ben, 141 points
LightDark, preview only
- Ana, 152 points
- Ben, 141 points
The code, Rows ending in a figure
Markup, Rows ending in a figure<ul class="dk-rows" role="list"> <li> <div class="dk-row"> <span class="dk-row-text"><span class="dk-row-title">Ana</span></span> <span class="dk-visually-hidden">, </span> <span class="dk-row-figure"> 152 <span class="dk-visually-hidden"> points</span> </span> </div> </li> <li> <div class="dk-row"> <span class="dk-row-text"><span class="dk-row-title">Ben</span></span> <span class="dk-visually-hidden">, </span> <span class="dk-row-figure"> 141 <span class="dk-visually-hidden"> points</span> </span> </div> </li> </ul>Tall rows, pressed at arm's length
The code behind it:
class="dk-rows dk-rows-tall"withdk-row dk-row-text dk-row-title dk-row-signLightDark, preview only
The code, Tall rows, pressed at arm's length
Markup, Tall rows, pressed at arm's length<ul class="dk-rows dk-rows-tall" role="list"> <li> <a class="dk-row" href="../tokens/"> <span class="dk-row-text"><span class="dk-row-title">Tokens and theme</span></span> <span class="dk-row-sign" aria-hidden="true">›</span> </a> </li> <li> <a class="dk-row" href="../controls/"> <span class="dk-row-text"><span class="dk-row-title">Controls</span></span> <span class="dk-row-sign" aria-hidden="true">›</span> </a> </li> </ul>A list with nothing in it yet
The code behind it:
class="dk-empty"withdk-buttonNo players yet.
LightDark, preview only
No players yet.
The code, A list with nothing in it yet
Markup, A list with nothing in it yet<div class="dk-empty"> <p>No players yet.</p> <button type="button" class="dk-button">Add a player</button> </div>React, A list with nothing in it yet<div className="dk-empty"> <p>No players yet.</p> <Button>Add a player</Button> </div>
What the tests check for Rows
These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.
e2e/rows.spec.ts, in a browsere2e/empty.spec.tsx, in a browser
Tiles
Tiles, each on a ground the page sets
The code behind it:
class="dk-rows dk-rows-tiles"withdk-row dk-row-text dk-row-title dk-visually-hidden dk-row-detail dk-row-signThe code, Tiles, each on a ground the page sets
Markup, Tiles, each on a ground the page sets<ul class="dk-rows dk-rows-tiles" role="list"> <li> <a class="dk-row ground-peach" href="../tokens/"> <span class="dk-row-text"> <span class="dk-row-title">Tokens and theme</span> <span class="dk-visually-hidden">, </span> <span class="dk-row-detail">Colors, their contrast and sizes</span> </span> <span class="dk-row-sign" aria-hidden="true">›</span> </a> </li> <li> <a class="dk-row ground-sky" href="../controls/"> <span class="dk-row-text"> <span class="dk-row-title">Controls</span> <span class="dk-visually-hidden">, </span> <span class="dk-row-detail">Buttons, fields and dialogs</span> </span> <span class="dk-row-sign" aria-hidden="true">›</span> </a> </li> <li> <a class="dk-row ground-leaf" href="../page-chrome/"> <span class="dk-row-text"> <span class="dk-row-title">Page chrome</span> <span class="dk-visually-hidden">, </span> <span class="dk-row-detail">The strip, the footer and the skip link</span> </span> <span class="dk-row-sign" aria-hidden="true">›</span> </a> </li> </ul>CSS, Tiles, each on a ground the page sets.ground-peach { --dk-tile-ground: light-dark(rgb(255 236 214), rgb(74 46 20)); } .ground-sky { --dk-tile-ground: light-dark(rgb(220 240 255), rgb(20 46 74)); } .ground-leaf { --dk-tile-ground: light-dark(rgb(232 245 222), rgb(30 56 20)); }
What the tests check for Tiles
These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.
e2e/rows.spec.ts, in a browser
Pinned table
A table whose first column stays in view
The code behind it:
class="dk-table dk-table-pinned"withdk-table-title dk-table-scroll dk-table-numberScores by round
Player Round 1 Round 2 Round 3 Round 4 Round 5 Round 6 Ana 24 31 18 27 22 30 Ben 19 26 33 21 25 17 LightDark, preview only
Scores by round
Player Round 1 Round 2 Round 3 Round 4 Round 5 Round 6 Ana 24 31 18 27 22 30 Ben 19 26 33 21 25 17 The code, A table whose first column stays in view
Markup, A table whose first column stays in view<p class="dk-table-title" id="scores-title">Scores by round</p> <div class="dk-table-scroll" role="region" aria-labelledby="scores-title" tabindex="0"> <table class="dk-table dk-table-pinned" aria-labelledby="scores-title"> <thead> <tr> <th scope="col">Player</th> <th scope="col" class="dk-table-number">Round 1</th> <th scope="col" class="dk-table-number">Round 2</th> <th scope="col" class="dk-table-number">Round 3</th> <th scope="col" class="dk-table-number">Round 4</th> <th scope="col" class="dk-table-number">Round 5</th> <th scope="col" class="dk-table-number">Round 6</th> </tr> </thead> <tbody> <tr> <th scope="row">Ana</th> <td class="dk-table-number">24</td> <td class="dk-table-number">31</td> <td class="dk-table-number">18</td> <td class="dk-table-number">27</td> <td class="dk-table-number">22</td> <td class="dk-table-number">30</td> </tr> <tr> <th scope="row">Ben</th> <td class="dk-table-number">19</td> <td class="dk-table-number">26</td> <td class="dk-table-number">33</td> <td class="dk-table-number">21</td> <td class="dk-table-number">25</td> <td class="dk-table-number">17</td> </tr> </tbody> </table> </div>
What the tests check for Pinned table
These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.
e2e/pinned.spec.ts, in a browser