@solexllc/usx-react 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/index.cjs +231 -98
  2. package/dist/index.js +231 -98
  3. package/package.json +5 -5
  4. package/src/components/accordion/accordion.html +596 -291
  5. package/src/components/alert/alert.html +112 -148
  6. package/src/components/attribution/attribution.html +50 -21
  7. package/src/components/avatar/avatar.html +86 -51
  8. package/src/components/breadcrumb/breadcrumb.html +45 -66
  9. package/src/components/button/button.html +363 -226
  10. package/src/components/callout/Callout.tsx +1 -2
  11. package/src/components/callout/callout.django.html +2 -2
  12. package/src/components/callout/callout.html +0 -5
  13. package/src/components/callout/config.json +1 -5
  14. package/src/components/card/Card.tsx +6 -3
  15. package/src/components/card/card.django.html +2 -2
  16. package/src/components/card/card.html +1032 -35
  17. package/src/components/card/config.json +6 -2
  18. package/src/components/card-group/card-group.html +388 -95
  19. package/src/components/carousel/Carousel.tsx +42 -71
  20. package/src/components/carousel/carousel.django.html +22 -46
  21. package/src/components/carousel/carousel.html +715 -32
  22. package/src/components/carousel/config.json +25 -12
  23. package/src/components/character-count/character-count.html +231 -26
  24. package/src/components/checkbox/checkbox.html +313 -241
  25. package/src/components/checkbox-group/checkbox-group.html +346 -26
  26. package/src/components/clickable/clickable.html +168 -83
  27. package/src/components/code/Code.tsx +4 -3
  28. package/src/components/code/code.django.html +1 -1
  29. package/src/components/code/config.json +4 -0
  30. package/src/components/collection/collection.html +203 -379
  31. package/src/components/combobox/combobox.html +21 -9
  32. package/src/components/container/container.html +2616 -80
  33. package/src/components/copy-to-clipboard/copy-to-clipboard.html +48 -20
  34. package/src/components/details/Details.tsx +69 -0
  35. package/src/components/details/config.json +73 -0
  36. package/src/components/details/details.django.html +7 -0
  37. package/src/components/details/details.html +186 -0
  38. package/src/components/error-message/error-message.html +15 -2
  39. package/src/components/error-page/ErrorPage.tsx +169 -0
  40. package/src/components/error-page/config.json +152 -0
  41. package/src/components/error-page/error-page.django.html +80 -0
  42. package/src/components/error-page/error-page.html +437 -0
  43. package/src/components/eyebrow/eyebrow.html +8 -4
  44. package/src/components/fieldset/fieldset.html +33 -7
  45. package/src/components/file-input/file-input.html +310 -31
  46. package/src/components/file-list/file-list.html +191 -7
  47. package/src/components/footer/footer.html +611 -232
  48. package/src/components/header/header.html +2553 -611
  49. package/src/components/hero/hero.html +300 -38
  50. package/src/components/hint/hint.html +7 -2
  51. package/src/components/identifier/identifier.html +483 -255
  52. package/src/components/image/Image.tsx +2 -2
  53. package/src/components/image/image.django.html +4 -10
  54. package/src/components/image/image.html +144 -29
  55. package/src/components/indicator/indicator.html +25 -23
  56. package/src/components/label/label.html +15 -16
  57. package/src/components/language-selector/language-selector.html +74 -25
  58. package/src/components/layout/layout.html +991 -21
  59. package/src/components/legend/legend.html +10 -9
  60. package/src/components/list/list.html +45 -25
  61. package/src/components/page/Page.tsx +15 -2
  62. package/src/components/page/config.json +13 -1
  63. package/src/components/page/page.django.html +2 -2
  64. package/src/components/page/page.html +29 -8
  65. package/src/components/pagination/pagination.html +907 -305
  66. package/src/components/prose/prose.html +244 -85
  67. package/src/components/quote/Quote.tsx +1 -1
  68. package/src/components/quote/config.json +1 -2
  69. package/src/components/quote/quote.html +2 -7
  70. package/src/components/radio-buttons/radio-buttons.html +623 -127
  71. package/src/components/required/required.html +3 -4
  72. package/src/components/search/search.html +336 -54
  73. package/src/components/section/section.html +73 -11
  74. package/src/components/select/select.html +112 -58
  75. package/src/components/skipnav/skipnav.html +40 -1
  76. package/src/components/spinner/spinner.html +143 -23
  77. package/src/components/step-indicator/step-indicator.html +26 -68
  78. package/src/components/swap/swap.html +99 -154
  79. package/src/components/table/table.html +2168 -988
  80. package/src/components/tag/tag.html +73 -17
  81. package/src/components/task-list/task-list.html +252 -15
  82. package/src/components/theme-picker/theme-picker.html +26 -8
  83. package/src/components/toggle/toggle.html +64 -5
  84. package/src/index.js +2 -0
@@ -1,1186 +1,2366 @@
1
- <h3 class="site-preview-heading">Standard Table</h3>
2
-
3
- <table class="usa-table">
4
- <caption>
5
- Bordered table
1
+ <h3 class="site-preview-heading">Standard</h3>
2
+ <table id="html-table-standard-standard" class="usa-table usx-table">
3
+ <caption class="usx-table__caption">
4
+ Historic U.S. documents
6
5
  </caption>
7
- <thead>
8
- <tr>
9
- <th scope="col">Document title</th>
10
- <th scope="col">Description</th>
11
- <th scope="col">Year</th>
6
+ <thead class="usx-table__head">
7
+ <tr hidden="" aria-hidden="true">
8
+ <td>
9
+ <span
10
+ class="usa-sr-only usa-table__announcement-region"
11
+ aria-live="polite"
12
+ id="html-table-standard-standard-sort-announcement"
13
+ ></span>
14
+ </td>
15
+ </tr>
16
+ <tr class="usx-table__head-row">
17
+ <th scope="col" class="usx-table__cell">Document title</th>
18
+ <th scope="col" class="usx-table__cell">Description</th>
19
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
12
20
  </tr>
13
21
  </thead>
14
- <tbody>
15
- <tr>
16
- <th scope="row">Declaration of Independence</th>
17
- <td>
18
- Statement adopted by the Continental Congress declaring independence
19
- from the British Empire.
22
+ <tbody class="usx-table__body">
23
+ <tr class="usx-table__row">
24
+ <th class="usx-table__cell" scope="row">Declaration of Independence</th>
25
+ <td class="usx-table__cell">
26
+ Statement adopted by the Continental Congress declaring independence from the British
27
+ Empire.
20
28
  </td>
21
- <td>1776</td>
29
+ <td class="usx-table__cell usx-table__cell--align-right">1776</td>
22
30
  </tr>
23
- <tr>
24
- <th scope="row">Bill of Rights</th>
25
- <td>
26
- The first ten amendments of the U.S. Constitution guaranteeing rights
27
- and freedoms.
31
+ <tr class="usx-table__row">
32
+ <th class="usx-table__cell" scope="row">Bill of Rights</th>
33
+ <td class="usx-table__cell">
34
+ The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
28
35
  </td>
29
- <td>1791</td>
36
+ <td class="usx-table__cell usx-table__cell--align-right">1791</td>
30
37
  </tr>
31
- <tr>
32
- <th scope="row">Declaration of Sentiments</th>
33
- <td>
34
- A document written during the Seneca Falls Convention outlining the
35
- rights that American women should be entitled to as citizens.
38
+ <tr class="usx-table__row">
39
+ <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
40
+ <td class="usx-table__cell">
41
+ A document written during the Seneca Falls Convention outlining the rights that American
42
+ women should be entitled to as citizens.
36
43
  </td>
37
- <td>1848</td>
44
+ <td class="usx-table__cell usx-table__cell--align-right">1848</td>
38
45
  </tr>
39
- <tr>
40
- <th scope="row">Emancipation Proclamation</th>
41
- <td>
42
- An executive order granting freedom to slaves in designated southern
43
- states.
46
+ <tr class="usx-table__row">
47
+ <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
48
+ <td class="usx-table__cell">
49
+ An executive order granting freedom to slaves in designated southern states.
44
50
  </td>
45
- <td>1863</td>
51
+ <td class="usx-table__cell usx-table__cell--align-right">1863</td>
46
52
  </tr>
47
53
  </tbody>
48
54
  </table>
49
55
 
50
- <h3 class="site-preview-heading">Striped Table</h3>
51
- <table class="usa-table usa-table--striped">
52
- <caption>
53
- Bordered table with horizontal stripes
56
+ <h3 class="site-preview-heading">Striped</h3>
57
+ <table id="html-table-striped-striped" class="usa-table usa-table--striped usx-table">
58
+ <caption class="usx-table__caption">
59
+ Striped table
54
60
  </caption>
55
- <thead>
56
- <tr>
57
- <th scope="col">Document title</th>
58
- <th scope="col">Description</th>
59
- <th scope="col">Year</th>
61
+ <thead class="usx-table__head">
62
+ <tr hidden="" aria-hidden="true">
63
+ <td>
64
+ <span
65
+ class="usa-sr-only usa-table__announcement-region"
66
+ aria-live="polite"
67
+ id="html-table-striped-striped-sort-announcement"
68
+ ></span>
69
+ </td>
70
+ </tr>
71
+ <tr class="usx-table__head-row">
72
+ <th scope="col" class="usx-table__cell">Document title</th>
73
+ <th scope="col" class="usx-table__cell">Description</th>
74
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
60
75
  </tr>
61
76
  </thead>
62
- <tbody>
63
- <tr>
64
- <th scope="row">Declaration of Independence</th>
65
- <td>
66
- Statement adopted by the Continental Congress declaring independence
67
- from the British Empire.
77
+ <tbody class="usx-table__body">
78
+ <tr class="usx-table__row">
79
+ <th class="usx-table__cell" scope="row">Declaration of Independence</th>
80
+ <td class="usx-table__cell">
81
+ Statement adopted by the Continental Congress declaring independence from the British
82
+ Empire.
68
83
  </td>
69
- <td>1776</td>
84
+ <td class="usx-table__cell usx-table__cell--align-right">1776</td>
70
85
  </tr>
71
- <tr>
72
- <th scope="row">Bill of Rights</th>
73
- <td>
74
- The first ten amendments of the U.S. Constitution guaranteeing rights
75
- and freedoms.
86
+ <tr class="usx-table__row">
87
+ <th class="usx-table__cell" scope="row">Bill of Rights</th>
88
+ <td class="usx-table__cell">
89
+ The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
76
90
  </td>
77
- <td>1791</td>
91
+ <td class="usx-table__cell usx-table__cell--align-right">1791</td>
78
92
  </tr>
79
- <tr>
80
- <th scope="row">Declaration of Sentiments</th>
81
- <td>
82
- A document written during the Seneca Falls Convention outlining the
83
- rights that American women should be entitled to as citizens.
93
+ <tr class="usx-table__row">
94
+ <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
95
+ <td class="usx-table__cell">
96
+ A document written during the Seneca Falls Convention outlining the rights that American
97
+ women should be entitled to as citizens.
84
98
  </td>
85
- <td>1848</td>
99
+ <td class="usx-table__cell usx-table__cell--align-right">1848</td>
86
100
  </tr>
87
- <tr>
88
- <th scope="row">Emancipation Proclamation</th>
89
- <td>
90
- An executive order granting freedom to slaves in designated southern
91
- states.
101
+ <tr class="usx-table__row">
102
+ <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
103
+ <td class="usx-table__cell">
104
+ An executive order granting freedom to slaves in designated southern states.
92
105
  </td>
93
- <td>1863</td>
106
+ <td class="usx-table__cell usx-table__cell--align-right">1863</td>
94
107
  </tr>
95
108
  </tbody>
96
109
  </table>
97
110
 
98
- <h3 class="site-preview-heading">Borderless Table</h3>
99
-
100
- <table class="usa-table usx-table usa-table--borderless">
101
- <caption>
102
- Borderless table: A borderless table can be useful when you want the
103
- information to feel more a part of the text it accompanies and extends.
111
+ <h3 class="site-preview-heading">Borderless</h3>
112
+ <table id="html-table-borderless-borderless" class="usa-table usa-table--borderless usx-table">
113
+ <caption class="usx-table__caption">
114
+ Borderless table
104
115
  </caption>
105
- <thead>
106
- <tr>
107
- <th scope="col">Document title</th>
108
- <th scope="col">Description</th>
109
- <th scope="col">Year</th>
116
+ <thead class="usx-table__head">
117
+ <tr hidden="" aria-hidden="true">
118
+ <td>
119
+ <span
120
+ class="usa-sr-only usa-table__announcement-region"
121
+ aria-live="polite"
122
+ id="html-table-borderless-borderless-sort-announcement"
123
+ ></span>
124
+ </td>
125
+ </tr>
126
+ <tr class="usx-table__head-row">
127
+ <th scope="col" class="usx-table__cell">Document title</th>
128
+ <th scope="col" class="usx-table__cell">Description</th>
129
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
110
130
  </tr>
111
131
  </thead>
112
- <tbody>
113
- <tr>
114
- <th scope="row">Declaration of Independence</th>
115
- <td>
116
- Statement adopted by the Continental Congress declaring independence
117
- from the British Empire.
132
+ <tbody class="usx-table__body">
133
+ <tr class="usx-table__row">
134
+ <th class="usx-table__cell" scope="row">Declaration of Independence</th>
135
+ <td class="usx-table__cell">
136
+ Statement adopted by the Continental Congress declaring independence from the British
137
+ Empire.
118
138
  </td>
119
- <td>1776</td>
139
+ <td class="usx-table__cell usx-table__cell--align-right">1776</td>
120
140
  </tr>
121
- <tr>
122
- <th scope="row">Bill of Rights</th>
123
- <td>
124
- The first ten amendments of the U.S. Constitution guaranteeing rights
125
- and freedoms.
141
+ <tr class="usx-table__row">
142
+ <th class="usx-table__cell" scope="row">Bill of Rights</th>
143
+ <td class="usx-table__cell">
144
+ The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
126
145
  </td>
127
- <td>1791</td>
146
+ <td class="usx-table__cell usx-table__cell--align-right">1791</td>
128
147
  </tr>
129
- <tr>
130
- <th scope="row">Declaration of Sentiments</th>
131
- <td>
132
- A document written during the Seneca Falls Convention outlining the
133
- rights that American women should be entitled to as citizens.
148
+ <tr class="usx-table__row">
149
+ <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
150
+ <td class="usx-table__cell">
151
+ A document written during the Seneca Falls Convention outlining the rights that American
152
+ women should be entitled to as citizens.
134
153
  </td>
135
- <td>1848</td>
154
+ <td class="usx-table__cell usx-table__cell--align-right">1848</td>
136
155
  </tr>
137
- <tr>
138
- <th scope="row">Emancipation Proclamation</th>
139
- <td>
140
- An executive order granting freedom to slaves in designated southern
141
- states.
156
+ <tr class="usx-table__row">
157
+ <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
158
+ <td class="usx-table__cell">
159
+ An executive order granting freedom to slaves in designated southern states.
142
160
  </td>
143
- <td>1863</td>
161
+ <td class="usx-table__cell usx-table__cell--align-right">1863</td>
144
162
  </tr>
145
163
  </tbody>
146
164
  </table>
147
165
 
166
+ <h3 class="site-preview-heading">Compact</h3>
167
+ <table id="html-table-compact-compact" class="usa-table usa-table--compact usx-table">
168
+ <caption class="usx-table__caption">
169
+ Compact table
170
+ </caption>
171
+ <thead class="usx-table__head">
172
+ <tr hidden="" aria-hidden="true">
173
+ <td>
174
+ <span
175
+ class="usa-sr-only usa-table__announcement-region"
176
+ aria-live="polite"
177
+ id="html-table-compact-compact-sort-announcement"
178
+ ></span>
179
+ </td>
180
+ </tr>
181
+ <tr class="usx-table__head-row">
182
+ <th scope="col" class="usx-table__cell">Document title</th>
183
+ <th scope="col" class="usx-table__cell">Description</th>
184
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
185
+ </tr>
186
+ </thead>
187
+ <tbody class="usx-table__body">
188
+ <tr class="usx-table__row">
189
+ <th class="usx-table__cell" scope="row">Declaration of Independence</th>
190
+ <td class="usx-table__cell">
191
+ Statement adopted by the Continental Congress declaring independence from the British
192
+ Empire.
193
+ </td>
194
+ <td class="usx-table__cell usx-table__cell--align-right">1776</td>
195
+ </tr>
196
+ <tr class="usx-table__row">
197
+ <th class="usx-table__cell" scope="row">Bill of Rights</th>
198
+ <td class="usx-table__cell">
199
+ The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
200
+ </td>
201
+ <td class="usx-table__cell usx-table__cell--align-right">1791</td>
202
+ </tr>
203
+ <tr class="usx-table__row">
204
+ <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
205
+ <td class="usx-table__cell">
206
+ A document written during the Seneca Falls Convention outlining the rights that American
207
+ women should be entitled to as citizens.
208
+ </td>
209
+ <td class="usx-table__cell usx-table__cell--align-right">1848</td>
210
+ </tr>
211
+ <tr class="usx-table__row">
212
+ <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
213
+ <td class="usx-table__cell">
214
+ An executive order granting freedom to slaves in designated southern states.
215
+ </td>
216
+ <td class="usx-table__cell usx-table__cell--align-right">1863</td>
217
+ </tr>
218
+ </tbody>
219
+ </table>
148
220
 
149
- <h3 class="site-preview-heading">Scrollable Table</h3>
150
- <div class="usa-table-container--scrollable" tabindex="0">
151
- <table class="usa-table">
152
- <caption>
153
- Scrollable table
221
+ <h3 class="site-preview-heading">Scrollable (horizontal)</h3>
222
+ <div class="usa-table-container--scrollable usx-table-container--scrollable" tabindex="0">
223
+ <table id="html-table-scrollable-horizontal-scrollable-horizontal" class="usa-table usx-table">
224
+ <caption class="usx-table__caption">
225
+ Horizontally scrollable table
154
226
  </caption>
155
- <thead>
156
- <tr>
157
- <th scope="col">Document title</th>
158
- <th scope="col">Description</th>
159
- <th scope="col">Year</th>
160
- </tr>
161
- </thead>
162
- <tbody>
163
- <tr>
164
- <th scope="row">Declaration of Independence</th>
227
+ <thead class="usx-table__head">
228
+ <tr hidden="" aria-hidden="true">
165
229
  <td>
166
- Statement adopted by the Continental Congress declaring independence
167
- from the British Empire.
230
+ <span
231
+ class="usa-sr-only usa-table__announcement-region"
232
+ aria-live="polite"
233
+ id="html-table-scrollable-horizontal-scrollable-horizontal-sort-announcement"
234
+ ></span>
168
235
  </td>
169
- <td>1776</td>
170
236
  </tr>
171
- <tr>
172
- <th scope="row">Bill of Rights</th>
173
- <td>
174
- The first ten amendments of the U.S. Constitution guaranteeing rights
175
- and freedoms.
176
- </td>
177
- <td>1791</td>
178
- </tr>
179
- <tr>
180
- <th scope="row">Declaration of Sentiments</th>
181
- <td>
182
- A document written during the Seneca Falls Convention outlining the
183
- rights that American women should be entitled to as citizens.
184
- </td>
185
- <td>1848</td>
237
+ <tr class="usx-table__head-row">
238
+ <th scope="col" class="usx-table__cell" data-sortable="true">
239
+ <button type="button" class="usx-table__sort-button">
240
+ State<svg
241
+ class="usa-icon usa-icon--size-2"
242
+ aria-hidden="true"
243
+ aria-label="sort_arrow icon"
244
+ focusable="false"
245
+ role="img"
246
+ >
247
+ <use href="/img/sprite.svg#sort_arrow"></use>
248
+ </svg>
249
+ </button>
250
+ </th>
251
+ <th
252
+ scope="col"
253
+ class="usx-table__cell usx-table__cell--align-right"
254
+ data-sortable="true"
255
+ style="width: 8rem"
256
+ >
257
+ <button type="button" class="usx-table__sort-button">
258
+ Order admitted<svg
259
+ class="usa-icon usa-icon--size-2"
260
+ aria-hidden="true"
261
+ aria-label="sort_arrow icon"
262
+ focusable="false"
263
+ role="img"
264
+ >
265
+ <use href="/img/sprite.svg#sort_arrow"></use>
266
+ </svg>
267
+ </button>
268
+ </th>
269
+ <th scope="col" class="usx-table__cell" data-sortable="true">
270
+ <button type="button" class="usx-table__sort-button">
271
+ Region<svg
272
+ class="usa-icon usa-icon--size-2"
273
+ aria-hidden="true"
274
+ aria-label="sort_arrow icon"
275
+ focusable="false"
276
+ role="img"
277
+ >
278
+ <use href="/img/sprite.svg#sort_arrow"></use>
279
+ </svg>
280
+ </button>
281
+ </th>
282
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
283
+ <button type="button" class="usx-table__sort-button">
284
+ Population at admission<svg
285
+ class="usa-icon usa-icon--size-2"
286
+ aria-hidden="true"
287
+ aria-label="sort_arrow icon"
288
+ focusable="false"
289
+ role="img"
290
+ >
291
+ <use href="/img/sprite.svg#sort_arrow"></use>
292
+ </svg>
293
+ </button>
294
+ </th>
295
+ <th scope="col" class="usx-table__cell">Extra A</th>
296
+ <th scope="col" class="usx-table__cell">Extra B</th>
186
297
  </tr>
187
- <tr>
188
- <th scope="row">Emancipation Proclamation</th>
189
- <td>
190
- An executive order granting freedom to slaves in designated southern
191
- states.
192
- </td>
193
- <td>1863</td>
298
+ </thead>
299
+ <tbody class="usx-table__body">
300
+ <tr class="usx-table__row">
301
+ <th class="usx-table__cell" scope="row">Hawaii</th>
302
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
303
+ <td class="usx-table__cell">Pacific</td>
304
+ <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
305
+ <td class="usx-table__cell">Lorem ipsum</td>
306
+ <td class="usx-table__cell">Dolor sit</td>
194
307
  </tr>
195
- </tbody>
196
- </table>
197
- </div>
198
-
199
- <div class="usa-table-container--scrollable" tabindex="0">
200
- <table class="usa-table usa-table--striped">
201
- <caption>
202
- Scrollable table with horizontal stripes
203
- </caption>
204
- <thead>
205
- <tr>
206
- <th scope="col">Document title</th>
207
- <th scope="col">Description</th>
208
- <th scope="col">Year</th>
308
+ <tr class="usx-table__row">
309
+ <th class="usx-table__cell" scope="row">Alaska</th>
310
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
311
+ <td class="usx-table__cell">Pacific</td>
312
+ <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
313
+ <td class="usx-table__cell">Lorem ipsum</td>
314
+ <td class="usx-table__cell">Dolor sit</td>
209
315
  </tr>
210
- </thead>
211
- <tbody>
212
- <tr>
213
- <th scope="row">Declaration of Independence</th>
214
- <td>
215
- Statement adopted by the Continental Congress declaring independence
216
- from the British Empire.
217
- </td>
218
- <td>1776</td>
316
+ <tr class="usx-table__row">
317
+ <th class="usx-table__cell" scope="row">Arizona</th>
318
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
319
+ <td class="usx-table__cell">Southwest</td>
320
+ <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
321
+ <td class="usx-table__cell">Lorem ipsum</td>
322
+ <td class="usx-table__cell">Dolor sit</td>
219
323
  </tr>
220
- <tr>
221
- <th scope="row">Bill of Rights</th>
222
- <td>
223
- The first ten amendments of the U.S. Constitution guaranteeing rights
224
- and freedoms.
225
- </td>
226
- <td>1791</td>
324
+ <tr class="usx-table__row">
325
+ <th class="usx-table__cell" scope="row">New Mexico</th>
326
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
327
+ <td class="usx-table__cell">Southwest</td>
328
+ <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
329
+ <td class="usx-table__cell">Lorem ipsum</td>
330
+ <td class="usx-table__cell">Dolor sit</td>
227
331
  </tr>
228
- <tr>
229
- <th scope="row">Declaration of Sentiments</th>
230
- <td>
231
- A document written during the Seneca Falls Convention outlining the
232
- rights that American women should be entitled to as citizens.
233
- </td>
234
- <td>1848</td>
332
+ <tr class="usx-table__row">
333
+ <th class="usx-table__cell" scope="row">Oklahoma</th>
334
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
335
+ <td class="usx-table__cell">South</td>
336
+ <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
337
+ <td class="usx-table__cell">Lorem ipsum</td>
338
+ <td class="usx-table__cell">Dolor sit</td>
235
339
  </tr>
236
- <tr>
237
- <th scope="row">Emancipation Proclamation</th>
238
- <td>
239
- An executive order granting freedom to slaves in designated southern
240
- states.
241
- </td>
242
- <td>1863</td>
340
+ <tr class="usx-table__row">
341
+ <th class="usx-table__cell" scope="row">Utah</th>
342
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
343
+ <td class="usx-table__cell">West</td>
344
+ <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
345
+ <td class="usx-table__cell">Lorem ipsum</td>
346
+ <td class="usx-table__cell">Dolor sit</td>
243
347
  </tr>
244
348
  </tbody>
245
349
  </table>
246
350
  </div>
247
351
 
248
- <div class="usa-table-container--scrollable" tabindex="0">
249
- <table class="usa-table usa-table--compact">
250
- <caption>
251
- Compact scrollable table
352
+ <h3 class="site-preview-heading">Scrollable (vertical)</h3>
353
+ <div
354
+ class="usa-table-container--scrollable usx-table-container--scrollable"
355
+ tabindex="0"
356
+ style="max-height: 250px; overflow: auto"
357
+ >
358
+ <table
359
+ id="html-table-scrollable-vertical-scrollable-vertical"
360
+ class="usa-table usa-table--sticky-header usx-table"
361
+ >
362
+ <caption class="usx-table__caption">
363
+ Vertically scrollable with sticky header
252
364
  </caption>
253
- <thead>
254
- <tr>
255
- <th scope="col">Document title</th>
256
- <th scope="col">Description</th>
257
- <th scope="col">Year</th>
258
- </tr>
259
- </thead>
260
- <tbody>
261
- <tr>
262
- <th scope="row">Declaration of Independence</th>
263
- <td>
264
- Statement adopted by the Continental Congress declaring independence
265
- from the British Empire.
266
- </td>
267
- <td>1776</td>
268
- </tr>
269
- <tr>
270
- <th scope="row">Bill of Rights</th>
271
- <td>
272
- The first ten amendments of the U.S. Constitution guaranteeing rights
273
- and freedoms.
274
- </td>
275
- <td>1791</td>
276
- </tr>
277
- <tr>
278
- <th scope="row">Declaration of Sentiments</th>
365
+ <thead class="usx-table__head">
366
+ <tr hidden="" aria-hidden="true">
279
367
  <td>
280
- A document written during the Seneca Falls Convention outlining the
281
- rights that American women should be entitled to as citizens.
368
+ <span
369
+ class="usa-sr-only usa-table__announcement-region"
370
+ aria-live="polite"
371
+ id="html-table-scrollable-vertical-scrollable-vertical-sort-announcement"
372
+ ></span>
282
373
  </td>
283
- <td>1848</td>
284
374
  </tr>
285
- <tr>
286
- <th scope="row">Emancipation Proclamation</th>
287
- <td>
288
- An executive order granting freedom to slaves in designated southern
289
- states.
290
- </td>
291
- <td>1863</td>
292
- </tr>
293
- </tbody>
294
- </table>
295
- </div>
296
-
297
- <div class="usa-table-container--scrollable" tabindex="0">
298
- <table class="usa-table usa-table--compact usa-table--striped">
299
- <caption>
300
- Compact scrollable table with horizontal stripes
301
- </caption>
302
- <thead>
303
- <tr>
304
- <th scope="col">Document title</th>
305
- <th scope="col">Description</th>
306
- <th scope="col">Year</th>
375
+ <tr class="usx-table__head-row">
376
+ <th scope="col" class="usx-table__cell">Document title</th>
377
+ <th scope="col" class="usx-table__cell">Description</th>
378
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
307
379
  </tr>
308
380
  </thead>
309
- <tbody>
310
- <tr>
311
- <th scope="row">Declaration of Independence</th>
312
- <td>
313
- Statement adopted by the Continental Congress declaring independence
314
- from the British Empire.
315
- </td>
316
- <td>1776</td>
381
+ <tbody class="usx-table__body">
382
+ <tr class="usx-table__row">
383
+ <th class="usx-table__cell" scope="row">Declaration of Independence</th>
384
+ <td class="usx-table__cell">
385
+ Statement adopted by the Continental Congress declaring independence from the British
386
+ Empire.
387
+ </td>
388
+ <td class="usx-table__cell usx-table__cell--align-right">1776</td>
317
389
  </tr>
318
- <tr>
319
- <th scope="row">Bill of Rights</th>
320
- <td>
321
- The first ten amendments of the U.S. Constitution guaranteeing rights
322
- and freedoms.
390
+ <tr class="usx-table__row">
391
+ <th class="usx-table__cell" scope="row">Bill of Rights</th>
392
+ <td class="usx-table__cell">
393
+ The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
323
394
  </td>
324
- <td>1791</td>
395
+ <td class="usx-table__cell usx-table__cell--align-right">1791</td>
325
396
  </tr>
326
- <tr>
327
- <th scope="row">Declaration of Sentiments</th>
328
- <td>
329
- A document written during the Seneca Falls Convention outlining the
330
- rights that American women should be entitled to as citizens.
397
+ <tr class="usx-table__row">
398
+ <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
399
+ <td class="usx-table__cell">
400
+ A document written during the Seneca Falls Convention outlining the rights that American
401
+ women should be entitled to as citizens.
331
402
  </td>
332
- <td>1848</td>
403
+ <td class="usx-table__cell usx-table__cell--align-right">1848</td>
333
404
  </tr>
334
- <tr>
335
- <th scope="row">Emancipation Proclamation</th>
336
- <td>
337
- An executive order granting freedom to slaves in designated southern
338
- states.
405
+ <tr class="usx-table__row">
406
+ <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
407
+ <td class="usx-table__cell">
408
+ An executive order granting freedom to slaves in designated southern states.
339
409
  </td>
340
- <td>1863</td>
410
+ <td class="usx-table__cell usx-table__cell--align-right">1863</td>
341
411
  </tr>
342
- </tbody>
343
- </table>
344
- </div>
345
-
346
- <h3 class="site-preview-heading">Responsive Stacked Table</h3>
347
- <div class="table-example-container">
348
- <div class="width-mobile">
349
- <table class="usa-table usa-table--stacked">
350
- <caption>
351
- Bordered table
352
- </caption>
353
- <thead>
354
- <tr>
355
- <th scope="col">Document title</th>
356
- <th scope="col">Description</th>
357
- <th scope="col">Year</th>
358
- </tr>
359
- </thead>
360
- <tbody>
361
- <tr>
362
- <th data-label="Document title" scope="row">
363
- Declaration of Independence
364
- </th>
365
- <td data-label="Description">
366
- Statement adopted by the Continental Congress declaring independence
367
- from the British Empire.
412
+ <tr class="usx-table__row">
413
+ <th class="usx-table__cell" scope="row">Declaration of Independence</th>
414
+ <td class="usx-table__cell">
415
+ Statement adopted by the Continental Congress declaring independence from the British
416
+ Empire.
368
417
  </td>
369
- <td data-label="Year">1776</td>
418
+ <td class="usx-table__cell usx-table__cell--align-right">1776</td>
370
419
  </tr>
371
- <tr>
372
- <th data-label="Document title" scope="row">Bill of Rights</th>
373
- <td data-label="Description">
374
- The first ten amendments of the U.S. Constitution guaranteeing rights
375
- and freedoms.
420
+ <tr class="usx-table__row">
421
+ <th class="usx-table__cell" scope="row">Bill of Rights</th>
422
+ <td class="usx-table__cell">
423
+ The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
376
424
  </td>
377
- <td data-label="Year">1791</td>
425
+ <td class="usx-table__cell usx-table__cell--align-right">1791</td>
378
426
  </tr>
379
- <tr>
380
- <th data-label="Document title" scope="row">
381
- Declaration of Sentiments
382
- </th>
383
- <td data-label="Description">
384
- A document written during the Seneca Falls Convention outlining the
385
- rights that American women should be entitled to as citizens.
427
+ <tr class="usx-table__row">
428
+ <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
429
+ <td class="usx-table__cell">
430
+ A document written during the Seneca Falls Convention outlining the rights that American
431
+ women should be entitled to as citizens.
386
432
  </td>
387
- <td data-label="Year">1848</td>
433
+ <td class="usx-table__cell usx-table__cell--align-right">1848</td>
388
434
  </tr>
389
- <tr>
390
- <th data-label="Document title" scope="row">
391
- Emancipation Proclamation
392
- </th>
393
- <td data-label="Description">
394
- An executive order granting freedom to slaves in designated southern
395
- states.
435
+ <tr class="usx-table__row">
436
+ <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
437
+ <td class="usx-table__cell">
438
+ An executive order granting freedom to slaves in designated southern states.
396
439
  </td>
397
- <td data-label="Year">1863</td>
440
+ <td class="usx-table__cell usx-table__cell--align-right">1863</td>
398
441
  </tr>
399
- </tbody>
400
- </table>
401
- </div>
402
-
403
- <div class="width-mobile">
404
- <table class="usa-table usa-table--stacked usa-table--borderless">
405
- <caption>
406
- Stacked borderless table (when on a
407
- <span class="text-no-wrap">mobile-width</span>
408
- screen)
409
- </caption>
410
- <thead>
411
- <tr>
412
- <th scope="col">Document title</th>
413
- <th scope="col">Description</th>
414
- <th scope="col">Year</th>
415
- </tr>
416
- </thead>
417
- <tbody>
418
- <tr>
419
- <th data-label="Document title" scope="row">
420
- Declaration of Independence
421
- </th>
422
- <td data-label="Description">
423
- Statement adopted by the Continental Congress declaring independence
424
- from the British Empire.
442
+ <tr class="usx-table__row">
443
+ <th class="usx-table__cell" scope="row">Declaration of Independence</th>
444
+ <td class="usx-table__cell">
445
+ Statement adopted by the Continental Congress declaring independence from the British
446
+ Empire.
425
447
  </td>
426
- <td data-label="Year">1776</td>
448
+ <td class="usx-table__cell usx-table__cell--align-right">1776</td>
427
449
  </tr>
428
- <tr>
429
- <th data-label="Document title" scope="row">Bill of Rights</th>
430
- <td data-label="Description">
431
- The first ten amendments of the U.S. Constitution guaranteeing rights
432
- and freedoms.
450
+ <tr class="usx-table__row">
451
+ <th class="usx-table__cell" scope="row">Bill of Rights</th>
452
+ <td class="usx-table__cell">
453
+ The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
433
454
  </td>
434
- <td data-label="Year">1791</td>
455
+ <td class="usx-table__cell usx-table__cell--align-right">1791</td>
435
456
  </tr>
436
- <tr>
437
- <th data-label="Document title" scope="row">
438
- Declaration of Sentiments
439
- </th>
440
- <td data-label="Description">
441
- A document written during the Seneca Falls Convention outlining the
442
- rights that American women should be entitled to as citizens.
457
+ <tr class="usx-table__row">
458
+ <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
459
+ <td class="usx-table__cell">
460
+ A document written during the Seneca Falls Convention outlining the rights that American
461
+ women should be entitled to as citizens.
443
462
  </td>
444
- <td data-label="Year">1848</td>
463
+ <td class="usx-table__cell usx-table__cell--align-right">1848</td>
445
464
  </tr>
446
- <tr>
447
- <th data-label="Document title" scope="row">
448
- Emancipation Proclamation
449
- </th>
450
- <td data-label="Description">
451
- An executive order granting freedom to slaves in designated southern
452
- states.
465
+ <tr class="usx-table__row">
466
+ <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
467
+ <td class="usx-table__cell">
468
+ An executive order granting freedom to slaves in designated southern states.
453
469
  </td>
454
- <td data-label="Year">1863</td>
470
+ <td class="usx-table__cell usx-table__cell--align-right">1863</td>
455
471
  </tr>
456
472
  </tbody>
457
473
  </table>
458
474
  </div>
459
475
 
460
- <div class="width-mobile">
461
- <table class="usa-table usa-table--stacked-header">
462
- <caption>
463
- Stacked bordered table with headers (when on a mobile-width screen)
476
+ <h3 class="site-preview-heading">Sticky First Column</h3>
477
+ <div class="usa-table-container--scrollable usx-table-container--scrollable" tabindex="0">
478
+ <table
479
+ id="html-table-sticky-first-column-sticky-first-column"
480
+ class="usa-table usx-table usx-table--sticky-first-col"
481
+ >
482
+ <caption class="usx-table__caption">
483
+ Sticky first column
464
484
  </caption>
465
- <thead>
466
- <tr>
467
- <th scope="col">Document title</th>
468
- <th scope="col">Description</th>
469
- <th scope="col">Year</th>
470
- </tr>
471
- </thead>
472
- <tbody>
473
- <tr>
474
- <th data-label="Document title" scope="row">
475
- Declaration of Independence
476
- </th>
477
- <td data-label="Description">
478
- Statement adopted by the Continental Congress declaring independence
479
- from the British Empire.
480
- </td>
481
- <td data-label="Year">1776</td>
482
- </tr>
483
- <tr>
484
- <th data-label="Document title" scope="row">Bill of Rights</th>
485
- <td data-label="Description">
486
- The first ten amendments of the U.S. Constitution guaranteeing rights
487
- and freedoms.
485
+ <thead class="usx-table__head">
486
+ <tr hidden="" aria-hidden="true">
487
+ <td>
488
+ <span
489
+ class="usa-sr-only usa-table__announcement-region"
490
+ aria-live="polite"
491
+ id="html-table-sticky-first-column-sticky-first-column-sort-announcement"
492
+ ></span>
488
493
  </td>
489
- <td data-label="Year">1791</td>
490
494
  </tr>
491
- <tr>
492
- <th data-label="Document title" scope="row">
493
- Declaration of Sentiments
494
- </th>
495
- <td data-label="Description">
496
- A document written during the Seneca Falls Convention outlining the
497
- rights that American women should be entitled to as citizens.
498
- </td>
499
- <td data-label="Year">1848</td>
495
+ <tr class="usx-table__head-row">
496
+ <th scope="col" class="usx-table__cell">State</th>
497
+ <th scope="col" class="usx-table__cell">Column 1</th>
498
+ <th scope="col" class="usx-table__cell">Column 2</th>
499
+ <th scope="col" class="usx-table__cell">Column 3</th>
500
+ <th scope="col" class="usx-table__cell">Column 4</th>
501
+ <th scope="col" class="usx-table__cell">Column 5</th>
502
+ <th scope="col" class="usx-table__cell">Column 6</th>
503
+ <th scope="col" class="usx-table__cell">Column 7</th>
504
+ <th scope="col" class="usx-table__cell">Column 8</th>
500
505
  </tr>
501
- <tr>
502
- <th data-label="Document title" scope="row">
503
- Emancipation Proclamation
504
- </th>
505
- <td data-label="Description">
506
- An executive order granting freedom to slaves in designated southern
507
- states.
508
- </td>
509
- <td data-label="Year">1863</td>
506
+ </thead>
507
+ <tbody class="usx-table__body">
508
+ <tr class="usx-table__row">
509
+ <th class="usx-table__cell" scope="row">Hawaii</th>
510
+ <td class="usx-table__cell">Data value</td>
511
+ <td class="usx-table__cell">Data value</td>
512
+ <td class="usx-table__cell">Data value</td>
513
+ <td class="usx-table__cell">Data value</td>
514
+ <td class="usx-table__cell">Data value</td>
515
+ <td class="usx-table__cell">Data value</td>
516
+ <td class="usx-table__cell">Data value</td>
517
+ <td class="usx-table__cell">Data value</td>
510
518
  </tr>
511
- </tbody>
512
- </table>
513
- </div>
514
-
515
- <div class="width-mobile">
516
- <table class="usa-table usa-table--stacked-header usa-table--borderless">
517
- <caption>
518
- Stacked borderless table with headers (when on a mobile-width screen)
519
- </caption>
520
- <thead>
521
- <tr>
522
- <th scope="col">Document title</th>
523
- <th scope="col">Description</th>
524
- <th scope="col">Year</th>
519
+ <tr class="usx-table__row">
520
+ <th class="usx-table__cell" scope="row">Alaska</th>
521
+ <td class="usx-table__cell">Data value</td>
522
+ <td class="usx-table__cell">Data value</td>
523
+ <td class="usx-table__cell">Data value</td>
524
+ <td class="usx-table__cell">Data value</td>
525
+ <td class="usx-table__cell">Data value</td>
526
+ <td class="usx-table__cell">Data value</td>
527
+ <td class="usx-table__cell">Data value</td>
528
+ <td class="usx-table__cell">Data value</td>
525
529
  </tr>
526
- </thead>
527
- <tbody>
528
- <tr>
529
- <th data-label="Document title" scope="row">
530
- Declaration of Independence
531
- </th>
532
- <td data-label="Description">
533
- Statement adopted by the Continental Congress declaring independence
534
- from the British Empire.
535
- </td>
536
- <td data-label="Year">1776</td>
530
+ <tr class="usx-table__row">
531
+ <th class="usx-table__cell" scope="row">Arizona</th>
532
+ <td class="usx-table__cell">Data value</td>
533
+ <td class="usx-table__cell">Data value</td>
534
+ <td class="usx-table__cell">Data value</td>
535
+ <td class="usx-table__cell">Data value</td>
536
+ <td class="usx-table__cell">Data value</td>
537
+ <td class="usx-table__cell">Data value</td>
538
+ <td class="usx-table__cell">Data value</td>
539
+ <td class="usx-table__cell">Data value</td>
537
540
  </tr>
538
- <tr>
539
- <th data-label="Document title" scope="row">Bill of Rights</th>
540
- <td data-label="Description">
541
- The first ten amendments of the U.S. Constitution guaranteeing rights
542
- and freedoms.
543
- </td>
544
- <td data-label="Year">1791</td>
541
+ <tr class="usx-table__row">
542
+ <th class="usx-table__cell" scope="row">New Mexico</th>
543
+ <td class="usx-table__cell">Data value</td>
544
+ <td class="usx-table__cell">Data value</td>
545
+ <td class="usx-table__cell">Data value</td>
546
+ <td class="usx-table__cell">Data value</td>
547
+ <td class="usx-table__cell">Data value</td>
548
+ <td class="usx-table__cell">Data value</td>
549
+ <td class="usx-table__cell">Data value</td>
550
+ <td class="usx-table__cell">Data value</td>
545
551
  </tr>
546
- <tr>
547
- <th data-label="Document title" scope="row">
548
- Declaration of Sentiments
549
- </th>
550
- <td data-label="Description">
551
- A document written during the Seneca Falls Convention outlining the
552
- rights that American women should be entitled to as citizens.
553
- </td>
554
- <td data-label="Year">1848</td>
552
+ <tr class="usx-table__row">
553
+ <th class="usx-table__cell" scope="row">Oklahoma</th>
554
+ <td class="usx-table__cell">Data value</td>
555
+ <td class="usx-table__cell">Data value</td>
556
+ <td class="usx-table__cell">Data value</td>
557
+ <td class="usx-table__cell">Data value</td>
558
+ <td class="usx-table__cell">Data value</td>
559
+ <td class="usx-table__cell">Data value</td>
560
+ <td class="usx-table__cell">Data value</td>
561
+ <td class="usx-table__cell">Data value</td>
555
562
  </tr>
556
- <tr>
557
- <th data-label="Document title" scope="row">
558
- Emancipation Proclamation
559
- </th>
560
- <td data-label="Description">
561
- An executive order granting freedom to slaves in designated southern
562
- states.
563
- </td>
564
- <td data-label="Year">1863</td>
563
+ <tr class="usx-table__row">
564
+ <th class="usx-table__cell" scope="row">Utah</th>
565
+ <td class="usx-table__cell">Data value</td>
566
+ <td class="usx-table__cell">Data value</td>
567
+ <td class="usx-table__cell">Data value</td>
568
+ <td class="usx-table__cell">Data value</td>
569
+ <td class="usx-table__cell">Data value</td>
570
+ <td class="usx-table__cell">Data value</td>
571
+ <td class="usx-table__cell">Data value</td>
572
+ <td class="usx-table__cell">Data value</td>
565
573
  </tr>
566
574
  </tbody>
567
575
  </table>
568
576
  </div>
569
- </div>
570
577
 
571
- <h3 class="site-preview-heading">Sortable Table Rows</h3>
578
+ <h3 class="site-preview-heading">Responsive Stacked</h3>
579
+ <table
580
+ id="html-table-responsive-stacked-responsive-stacked"
581
+ class="usa-table usa-table--stacked usx-table"
582
+ >
583
+ <caption class="usx-table__caption">
584
+ Stacked on mobile
585
+ </caption>
586
+ <thead class="usx-table__head">
587
+ <tr hidden="" aria-hidden="true">
588
+ <td>
589
+ <span
590
+ class="usa-sr-only usa-table__announcement-region"
591
+ aria-live="polite"
592
+ id="html-table-responsive-stacked-responsive-stacked-sort-announcement"
593
+ ></span>
594
+ </td>
595
+ </tr>
596
+ <tr class="usx-table__head-row">
597
+ <th scope="col" class="usx-table__cell">Document title</th>
598
+ <th scope="col" class="usx-table__cell">Description</th>
599
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
600
+ </tr>
601
+ </thead>
602
+ <tbody class="usx-table__body">
603
+ <tr class="usx-table__row">
604
+ <th class="usx-table__cell" scope="row" data-label="Document title">
605
+ Declaration of Independence
606
+ </th>
607
+ <td class="usx-table__cell" data-label="Description">
608
+ Statement adopted by the Continental Congress declaring independence from the British
609
+ Empire.
610
+ </td>
611
+ <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1776</td>
612
+ </tr>
613
+ <tr class="usx-table__row">
614
+ <th class="usx-table__cell" scope="row" data-label="Document title">Bill of Rights</th>
615
+ <td class="usx-table__cell" data-label="Description">
616
+ The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
617
+ </td>
618
+ <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1791</td>
619
+ </tr>
620
+ <tr class="usx-table__row">
621
+ <th class="usx-table__cell" scope="row" data-label="Document title">
622
+ Declaration of Sentiments
623
+ </th>
624
+ <td class="usx-table__cell" data-label="Description">
625
+ A document written during the Seneca Falls Convention outlining the rights that American
626
+ women should be entitled to as citizens.
627
+ </td>
628
+ <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1848</td>
629
+ </tr>
630
+ <tr class="usx-table__row">
631
+ <th class="usx-table__cell" scope="row" data-label="Document title">
632
+ Emancipation Proclamation
633
+ </th>
634
+ <td class="usx-table__cell" data-label="Description">
635
+ An executive order granting freedom to slaves in designated southern states.
636
+ </td>
637
+ <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1863</td>
638
+ </tr>
639
+ </tbody>
640
+ </table>
641
+
642
+ <h3 class="site-preview-heading">Responsive Stacked Header</h3>
643
+ <table
644
+ id="html-table-responsive-stacked-header-responsive-stacked-header"
645
+ class="usa-table usa-table--stacked-header usx-table"
646
+ >
647
+ <caption class="usx-table__caption">
648
+ Stacked with header on mobile
649
+ </caption>
650
+ <thead class="usx-table__head">
651
+ <tr hidden="" aria-hidden="true">
652
+ <td>
653
+ <span
654
+ class="usa-sr-only usa-table__announcement-region"
655
+ aria-live="polite"
656
+ id="html-table-responsive-stacked-header-responsive-stacked-header-sort-announcement"
657
+ ></span>
658
+ </td>
659
+ </tr>
660
+ <tr class="usx-table__head-row">
661
+ <th scope="col" class="usx-table__cell">Document title</th>
662
+ <th scope="col" class="usx-table__cell">Description</th>
663
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
664
+ </tr>
665
+ </thead>
666
+ <tbody class="usx-table__body">
667
+ <tr class="usx-table__row">
668
+ <th class="usx-table__cell" scope="row" data-label="Document title">
669
+ Declaration of Independence
670
+ </th>
671
+ <td class="usx-table__cell" data-label="Description">
672
+ Statement adopted by the Continental Congress declaring independence from the British
673
+ Empire.
674
+ </td>
675
+ <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1776</td>
676
+ </tr>
677
+ <tr class="usx-table__row">
678
+ <th class="usx-table__cell" scope="row" data-label="Document title">Bill of Rights</th>
679
+ <td class="usx-table__cell" data-label="Description">
680
+ The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
681
+ </td>
682
+ <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1791</td>
683
+ </tr>
684
+ <tr class="usx-table__row">
685
+ <th class="usx-table__cell" scope="row" data-label="Document title">
686
+ Declaration of Sentiments
687
+ </th>
688
+ <td class="usx-table__cell" data-label="Description">
689
+ A document written during the Seneca Falls Convention outlining the rights that American
690
+ women should be entitled to as citizens.
691
+ </td>
692
+ <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1848</td>
693
+ </tr>
694
+ <tr class="usx-table__row">
695
+ <th class="usx-table__cell" scope="row" data-label="Document title">
696
+ Emancipation Proclamation
697
+ </th>
698
+ <td class="usx-table__cell" data-label="Description">
699
+ An executive order granting freedom to slaves in designated southern states.
700
+ </td>
701
+ <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1863</td>
702
+ </tr>
703
+ </tbody>
704
+ </table>
572
705
 
573
- <div class="usa-table-container--scrollable" tabindex="0">
574
- <table class="usa-table">
575
- <caption>
576
- Recently admitted US states (sortable table example)
706
+ <h3 class="site-preview-heading">Sortable</h3>
707
+ <div class="usa-table-container--scrollable usx-table-container--scrollable" tabindex="0">
708
+ <table id="html-table-sortable-sortable" class="usa-table usx-table">
709
+ <caption class="usx-table__caption">
710
+ Sortable table — click column headers
577
711
  </caption>
578
- <thead>
579
- <tr>
580
- <th data-sortable scope="col" role="columnheader">Name</th>
712
+ <thead class="usx-table__head">
713
+ <tr hidden="" aria-hidden="true">
714
+ <td>
715
+ <span
716
+ class="usa-sr-only usa-table__announcement-region"
717
+ aria-live="polite"
718
+ id="html-table-sortable-sortable-sort-announcement"
719
+ ></span>
720
+ </td>
721
+ </tr>
722
+ <tr class="usx-table__head-row">
723
+ <th scope="col" class="usx-table__cell" data-sortable="true">
724
+ <button type="button" class="usx-table__sort-button">
725
+ State<svg
726
+ class="usa-icon usa-icon--size-2"
727
+ aria-hidden="true"
728
+ aria-label="sort_arrow icon"
729
+ focusable="false"
730
+ role="img"
731
+ >
732
+ <use href="/img/sprite.svg#sort_arrow"></use>
733
+ </svg>
734
+ </button>
735
+ </th>
581
736
  <th
582
- data-sortable
583
737
  scope="col"
584
- role="columnheader"
585
- aria-sort="descending"
738
+ class="usx-table__cell usx-table__cell--align-right"
739
+ data-sortable="true"
740
+ style="width: 8rem"
586
741
  >
587
- Order admitted to union
588
- </th>
589
- <th data-sortable scope="col" role="columnheader">
590
- Date of ratification vote
742
+ <button type="button" class="usx-table__sort-button">
743
+ Order admitted<svg
744
+ class="usa-icon usa-icon--size-2"
745
+ aria-hidden="true"
746
+ aria-label="sort_arrow icon"
747
+ focusable="false"
748
+ role="img"
749
+ >
750
+ <use href="/img/sprite.svg#sort_arrow"></use>
751
+ </svg>
752
+ </button>
591
753
  </th>
592
- <th data-sortable scope="col" role="columnheader">
593
- Date admitted to union
754
+ <th scope="col" class="usx-table__cell" data-sortable="true">
755
+ <button type="button" class="usx-table__sort-button">
756
+ Region<svg
757
+ class="usa-icon usa-icon--size-2"
758
+ aria-hidden="true"
759
+ aria-label="sort_arrow icon"
760
+ focusable="false"
761
+ role="img"
762
+ >
763
+ <use href="/img/sprite.svg#sort_arrow"></use>
764
+ </svg>
765
+ </button>
594
766
  </th>
595
- <th data-sortable scope="col" role="columnheader">
596
- Percent of voters in favor of ratification
597
- </th>
598
- <th data-sortable scope="col" role="columnheader">
599
- Votes cast in favor of ratification
600
- </th>
601
- <th data-sortable scope="col" role="columnheader">
602
- Estimated population at time of admission
767
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
768
+ <button type="button" class="usx-table__sort-button">
769
+ Population at admission<svg
770
+ class="usa-icon usa-icon--size-2"
771
+ aria-hidden="true"
772
+ aria-label="sort_arrow icon"
773
+ focusable="false"
774
+ role="img"
775
+ >
776
+ <use href="/img/sprite.svg#sort_arrow"></use>
777
+ </svg>
778
+ </button>
603
779
  </th>
604
780
  </tr>
605
781
  </thead>
606
- <tbody>
607
- <tr>
608
- <th scope="row" role="rowheader">Hawaii</th>
609
- <td data-sort-value="50">50th</td>
610
- <td data-sort-value="331844400">Jun. 27, 1959</td>
611
- <td data-sort-value="327092400">Aug. 21, 1959</td>
612
- <td
613
- data-sort-value="0.943"
614
- class="font-mono-sm text-tabular text-right"
615
- >
616
- 94.3%
617
- </td>
618
- <td
619
- data-sort-value="132773"
620
- class="font-mono-sm text-tabular text-right"
621
- >
622
- 132,773
623
- </td>
624
- <td
625
- data-sort-value="632772"
626
- class="font-mono-sm text-tabular text-right"
627
- >
628
- 632,772
629
- </td>
782
+ <tbody class="usx-table__body">
783
+ <tr class="usx-table__row">
784
+ <th class="usx-table__cell" scope="row">Hawaii</th>
785
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
786
+ <td class="usx-table__cell">Pacific</td>
787
+ <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
630
788
  </tr>
631
- <tr>
632
- <th scope="row" role="rowheader">Alaska</th>
633
- <td data-sort-value="49">49th</td>
634
- <td data-sort-value="431978400">Apr. 24, 1956</td>
635
- <td data-sort-value="346960800">Jan. 3, 1959</td>
636
- <td
637
- data-sort-value="0.681"
638
- class="font-mono-sm text-tabular text-right"
639
- >
640
- 68.1%
641
- </td>
642
- <td
643
- data-sort-value="17477"
644
- class="font-mono-sm text-tabular text-right"
645
- >
646
- 17,477
647
- </td>
648
- <td
649
- data-sort-value="226167"
650
- class="font-mono-sm text-tabular text-right"
651
- >
652
- 226,167
653
- </td>
789
+ <tr class="usx-table__row">
790
+ <th class="usx-table__cell" scope="row">Alaska</th>
791
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
792
+ <td class="usx-table__cell">Pacific</td>
793
+ <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
654
794
  </tr>
655
- <tr>
656
- <th scope="row" role="rowheader">Arizona</th>
657
- <td data-sort-value="48">48th</td>
658
- <td data-sort-value="1858528800">Feb. 9, 1911</td>
659
- <td data-sort-value="1826560800">Feb. 14, 1912</td>
660
- <td
661
- data-sort-value="0.787"
662
- class="font-mono-sm text-tabular text-right"
663
- >
664
- 78.7%
665
- </td>
666
- <td
667
- data-sort-value="12187"
668
- class="font-mono-sm text-tabular text-right"
669
- >
670
- 12,187
671
- </td>
672
- <td
673
- data-sort-value="204354"
674
- class="font-mono-sm text-tabular text-right"
675
- >
676
- 204,354
677
- </td>
795
+ <tr class="usx-table__row">
796
+ <th class="usx-table__cell" scope="row">Arizona</th>
797
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
798
+ <td class="usx-table__cell">Southwest</td>
799
+ <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
678
800
  </tr>
679
- <tr>
680
- <th scope="row" role="rowheader">New Mexico</th>
681
- <td data-sort-value="47">47th</td>
682
- <td data-sort-value="1835287200">Nov. 5, 1911</td>
683
- <td data-sort-value="1829930400">Jan. 6, 1912</td>
684
- <td
685
- data-sort-value="0.703"
686
- class="font-mono-sm text-tabular text-right"
687
- >
688
- 70.3%
689
- </td>
690
- <td
691
- data-sort-value="31742"
692
- class="font-mono-sm text-tabular text-right"
693
- >
694
- 31,742
695
- </td>
696
- <td
697
- data-sort-value="327301"
698
- class="font-mono-sm text-tabular text-right"
699
- >
700
- 327,301
701
- </td>
801
+ <tr class="usx-table__row">
802
+ <th class="usx-table__cell" scope="row">New Mexico</th>
803
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
804
+ <td class="usx-table__cell">Southwest</td>
805
+ <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
702
806
  </tr>
703
- <tr>
704
- <th scope="row" role="rowheader">Oklahoma</th>
705
- <td data-sort-value="46">46th</td>
706
- <td data-sort-value="1965751200">Sep. 17, 1907</td>
707
- <td data-sort-value="1960567200">Nov. 16, 1907</td>
708
- <td
709
- data-sort-value="0.712"
710
- class="font-mono-sm text-tabular text-right"
711
- >
712
- 71.2%
713
- </td>
714
- <td
715
- data-sort-value="180333"
716
- class="font-mono-sm text-tabular text-right"
717
- >
718
- 180,333
719
- </td>
720
- <td
721
- data-sort-value="1657155"
722
- class="font-mono-sm text-tabular text-right"
723
- >
724
- 1,657,155
725
- </td>
807
+ <tr class="usx-table__row">
808
+ <th class="usx-table__cell" scope="row">Oklahoma</th>
809
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
810
+ <td class="usx-table__cell">South</td>
811
+ <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
726
812
  </tr>
727
- <tr>
728
- <th scope="row" role="rowheader">Utah</th>
729
- <td data-sort-value="45">45th</td>
730
- <td data-sort-value="2340122400">Nov. 5, 1895</td>
731
- <td data-sort-value="2334938400">Jan. 4, 1896</td>
732
- <td
733
- data-sort-value="0.805"
734
- class="font-mono-sm text-tabular text-right"
735
- >
736
- 80.5%
737
- </td>
738
- <td
739
- data-sort-value="31305"
740
- class="font-mono-sm text-tabular text-right"
741
- >
742
- 31,305
743
- </td>
744
- <td
745
- data-sort-value="210779"
746
- class="font-mono-sm text-tabular text-right"
747
- >
748
- 210,779
749
- </td>
813
+ <tr class="usx-table__row">
814
+ <th class="usx-table__cell" scope="row">Utah</th>
815
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
816
+ <td class="usx-table__cell">West</td>
817
+ <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
750
818
  </tr>
751
819
  </tbody>
752
820
  </table>
753
- <div
754
- class="usa-sr-only usa-table__announcement-region"
755
- aria-live="polite"
756
- ></div>
757
- <p class="margin-bottom-3">Data for illustration purposes only.</p>
758
821
  </div>
759
- <div class="usa-table-container--scrollable" tabindex="0">
760
- <table class="usa-table usa-table--striped">
761
- <caption>
762
- Sortable striped table with various content types
822
+
823
+ <h3 class="site-preview-heading">Sortable (all columns)</h3>
824
+ <table id="html-table-sortable-all-sortable-all" class="usa-table usx-table">
825
+ <caption class="usx-table__caption">
826
+ All columns sortable via sortable prop
827
+ </caption>
828
+ <thead class="usx-table__head">
829
+ <tr hidden="" aria-hidden="true">
830
+ <td>
831
+ <span
832
+ class="usa-sr-only usa-table__announcement-region"
833
+ aria-live="polite"
834
+ id="html-table-sortable-all-sortable-all-sort-announcement"
835
+ ></span>
836
+ </td>
837
+ </tr>
838
+ <tr class="usx-table__head-row">
839
+ <th scope="col" class="usx-table__cell" data-sortable="true">
840
+ <button type="button" class="usx-table__sort-button">
841
+ Document title<svg
842
+ class="usa-icon usa-icon--size-2"
843
+ aria-hidden="true"
844
+ aria-label="sort_arrow icon"
845
+ focusable="false"
846
+ role="img"
847
+ >
848
+ <use href="/img/sprite.svg#sort_arrow"></use>
849
+ </svg>
850
+ </button>
851
+ </th>
852
+ <th scope="col" class="usx-table__cell" data-sortable="true">
853
+ <button type="button" class="usx-table__sort-button">
854
+ Description<svg
855
+ class="usa-icon usa-icon--size-2"
856
+ aria-hidden="true"
857
+ aria-label="sort_arrow icon"
858
+ focusable="false"
859
+ role="img"
860
+ >
861
+ <use href="/img/sprite.svg#sort_arrow"></use>
862
+ </svg>
863
+ </button>
864
+ </th>
865
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
866
+ <button type="button" class="usx-table__sort-button">
867
+ Year<svg
868
+ class="usa-icon usa-icon--size-2"
869
+ aria-hidden="true"
870
+ aria-label="sort_arrow icon"
871
+ focusable="false"
872
+ role="img"
873
+ >
874
+ <use href="/img/sprite.svg#sort_arrow"></use>
875
+ </svg>
876
+ </button>
877
+ </th>
878
+ </tr>
879
+ </thead>
880
+ <tbody class="usx-table__body">
881
+ <tr class="usx-table__row">
882
+ <th class="usx-table__cell" scope="row">Declaration of Independence</th>
883
+ <td class="usx-table__cell">
884
+ Statement adopted by the Continental Congress declaring independence from the British
885
+ Empire.
886
+ </td>
887
+ <td class="usx-table__cell usx-table__cell--align-right">1776</td>
888
+ </tr>
889
+ <tr class="usx-table__row">
890
+ <th class="usx-table__cell" scope="row">Bill of Rights</th>
891
+ <td class="usx-table__cell">
892
+ The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
893
+ </td>
894
+ <td class="usx-table__cell usx-table__cell--align-right">1791</td>
895
+ </tr>
896
+ <tr class="usx-table__row">
897
+ <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
898
+ <td class="usx-table__cell">
899
+ A document written during the Seneca Falls Convention outlining the rights that American
900
+ women should be entitled to as citizens.
901
+ </td>
902
+ <td class="usx-table__cell usx-table__cell--align-right">1848</td>
903
+ </tr>
904
+ <tr class="usx-table__row">
905
+ <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
906
+ <td class="usx-table__cell">
907
+ An executive order granting freedom to slaves in designated southern states.
908
+ </td>
909
+ <td class="usx-table__cell usx-table__cell--align-right">1863</td>
910
+ </tr>
911
+ </tbody>
912
+ </table>
913
+
914
+ <h3 class="site-preview-heading">Sortable (controlled)</h3>
915
+ <div>
916
+ <p>Sort: name asc</p>
917
+ <div class="usa-table-container--scrollable usx-table-container--scrollable" tabindex="0">
918
+ <table id="html-table-sortable-controlled-sortable" class="usa-table usx-table">
919
+ <caption class="usx-table__caption">
920
+ Sortable table — click column headers
921
+ </caption>
922
+ <thead class="usx-table__head">
923
+ <tr hidden="" aria-hidden="true">
924
+ <td>
925
+ <span
926
+ class="usa-sr-only usa-table__announcement-region"
927
+ aria-live="polite"
928
+ id="html-table-sortable-controlled-sortable-sort-announcement"
929
+ ></span>
930
+ </td>
931
+ </tr>
932
+ <tr class="usx-table__head-row">
933
+ <th scope="col" class="usx-table__cell" aria-sort="ascending" data-sortable="true">
934
+ <button type="button" class="usx-table__sort-button usx-table__sort-button--active">
935
+ State<svg
936
+ class="usa-icon usa-icon--size-2"
937
+ aria-hidden="true"
938
+ aria-label="arrow_upward icon"
939
+ focusable="false"
940
+ role="img"
941
+ >
942
+ <use href="/img/sprite.svg#arrow_upward"></use>
943
+ </svg>
944
+ </button>
945
+ </th>
946
+ <th
947
+ scope="col"
948
+ class="usx-table__cell usx-table__cell--align-right"
949
+ data-sortable="true"
950
+ style="width: 8rem"
951
+ >
952
+ <button type="button" class="usx-table__sort-button">
953
+ Order admitted<svg
954
+ class="usa-icon usa-icon--size-2"
955
+ aria-hidden="true"
956
+ aria-label="sort_arrow icon"
957
+ focusable="false"
958
+ role="img"
959
+ >
960
+ <use href="/img/sprite.svg#sort_arrow"></use>
961
+ </svg>
962
+ </button>
963
+ </th>
964
+ <th scope="col" class="usx-table__cell" data-sortable="true">
965
+ <button type="button" class="usx-table__sort-button">
966
+ Region<svg
967
+ class="usa-icon usa-icon--size-2"
968
+ aria-hidden="true"
969
+ aria-label="sort_arrow icon"
970
+ focusable="false"
971
+ role="img"
972
+ >
973
+ <use href="/img/sprite.svg#sort_arrow"></use>
974
+ </svg>
975
+ </button>
976
+ </th>
977
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
978
+ <button type="button" class="usx-table__sort-button">
979
+ Population at admission<svg
980
+ class="usa-icon usa-icon--size-2"
981
+ aria-hidden="true"
982
+ aria-label="sort_arrow icon"
983
+ focusable="false"
984
+ role="img"
985
+ >
986
+ <use href="/img/sprite.svg#sort_arrow"></use>
987
+ </svg>
988
+ </button>
989
+ </th>
990
+ </tr>
991
+ </thead>
992
+ <tbody class="usx-table__body">
993
+ <tr class="usx-table__row">
994
+ <th class="usx-table__cell" scope="row">Alaska</th>
995
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
996
+ <td class="usx-table__cell">Pacific</td>
997
+ <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
998
+ </tr>
999
+ <tr class="usx-table__row">
1000
+ <th class="usx-table__cell" scope="row">Arizona</th>
1001
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1002
+ <td class="usx-table__cell">Southwest</td>
1003
+ <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
1004
+ </tr>
1005
+ <tr class="usx-table__row">
1006
+ <th class="usx-table__cell" scope="row">Hawaii</th>
1007
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1008
+ <td class="usx-table__cell">Pacific</td>
1009
+ <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
1010
+ </tr>
1011
+ <tr class="usx-table__row">
1012
+ <th class="usx-table__cell" scope="row">New Mexico</th>
1013
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
1014
+ <td class="usx-table__cell">Southwest</td>
1015
+ <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
1016
+ </tr>
1017
+ <tr class="usx-table__row">
1018
+ <th class="usx-table__cell" scope="row">Oklahoma</th>
1019
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
1020
+ <td class="usx-table__cell">South</td>
1021
+ <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
1022
+ </tr>
1023
+ <tr class="usx-table__row">
1024
+ <th class="usx-table__cell" scope="row">Utah</th>
1025
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
1026
+ <td class="usx-table__cell">West</td>
1027
+ <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
1028
+ </tr>
1029
+ </tbody>
1030
+ </table>
1031
+ </div>
1032
+ </div>
1033
+
1034
+ <h3 class="site-preview-heading">Checkbox Selection</h3>
1035
+ <table id="html-table-checkbox-selection-checkbox-selection" class="usa-table usx-table">
1036
+ <caption class="usx-table__caption">
1037
+ Multi-select with checkboxes
1038
+ </caption>
1039
+ <thead class="usx-table__head">
1040
+ <tr hidden="" aria-hidden="true">
1041
+ <td>
1042
+ <span
1043
+ class="usa-sr-only usa-table__announcement-region"
1044
+ aria-live="polite"
1045
+ id="html-table-checkbox-selection-checkbox-selection-sort-announcement"
1046
+ ></span>
1047
+ </td>
1048
+ </tr>
1049
+ <tr class="usx-table__head-row">
1050
+ <th scope="col" rowspan="1" class="usx-table__cell usx-table__cell--selection">
1051
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1052
+ <input
1053
+ class="usa-checkbox__input"
1054
+ id="html-table-checkbox-selection-checkbox-selection-select-all"
1055
+ type="checkbox"
1056
+ aria-label="Select all rows"
1057
+ value=""
1058
+ /><label
1059
+ class="usa-checkbox__label"
1060
+ for="html-table-checkbox-selection-checkbox-selection-select-all"
1061
+ ></label>
1062
+ </div>
1063
+ </th>
1064
+ <th scope="col" class="usx-table__cell" data-sortable="true">
1065
+ <button type="button" class="usx-table__sort-button">
1066
+ State<svg
1067
+ class="usa-icon usa-icon--size-2"
1068
+ aria-hidden="true"
1069
+ aria-label="sort_arrow icon"
1070
+ focusable="false"
1071
+ role="img"
1072
+ >
1073
+ <use href="/img/sprite.svg#sort_arrow"></use>
1074
+ </svg>
1075
+ </button>
1076
+ </th>
1077
+ <th
1078
+ scope="col"
1079
+ class="usx-table__cell usx-table__cell--align-right"
1080
+ data-sortable="true"
1081
+ style="width: 8rem"
1082
+ >
1083
+ <button type="button" class="usx-table__sort-button">
1084
+ Order admitted<svg
1085
+ class="usa-icon usa-icon--size-2"
1086
+ aria-hidden="true"
1087
+ aria-label="sort_arrow icon"
1088
+ focusable="false"
1089
+ role="img"
1090
+ >
1091
+ <use href="/img/sprite.svg#sort_arrow"></use>
1092
+ </svg>
1093
+ </button>
1094
+ </th>
1095
+ <th scope="col" class="usx-table__cell" data-sortable="true">
1096
+ <button type="button" class="usx-table__sort-button">
1097
+ Region<svg
1098
+ class="usa-icon usa-icon--size-2"
1099
+ aria-hidden="true"
1100
+ aria-label="sort_arrow icon"
1101
+ focusable="false"
1102
+ role="img"
1103
+ >
1104
+ <use href="/img/sprite.svg#sort_arrow"></use>
1105
+ </svg>
1106
+ </button>
1107
+ </th>
1108
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
1109
+ <button type="button" class="usx-table__sort-button">
1110
+ Population at admission<svg
1111
+ class="usa-icon usa-icon--size-2"
1112
+ aria-hidden="true"
1113
+ aria-label="sort_arrow icon"
1114
+ focusable="false"
1115
+ role="img"
1116
+ >
1117
+ <use href="/img/sprite.svg#sort_arrow"></use>
1118
+ </svg>
1119
+ </button>
1120
+ </th>
1121
+ </tr>
1122
+ </thead>
1123
+ <tbody class="usx-table__body">
1124
+ <tr class="usx-table__row">
1125
+ <td class="usx-table__cell usx-table__cell--selection">
1126
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1127
+ <input
1128
+ class="usa-checkbox__input"
1129
+ id="html-table-checkbox-selection-:r3d:-select"
1130
+ type="checkbox"
1131
+ aria-label="Select row 1"
1132
+ value=""
1133
+ /><label
1134
+ class="usa-checkbox__label"
1135
+ for="html-table-checkbox-selection-:r3d:-select"
1136
+ ></label>
1137
+ </div>
1138
+ </td>
1139
+ <th class="usx-table__cell" scope="row">Hawaii</th>
1140
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1141
+ <td class="usx-table__cell">Pacific</td>
1142
+ <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
1143
+ </tr>
1144
+ <tr class="usx-table__row">
1145
+ <td class="usx-table__cell usx-table__cell--selection">
1146
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1147
+ <input
1148
+ class="usa-checkbox__input"
1149
+ id="html-table-checkbox-selection-:r3e:-select"
1150
+ type="checkbox"
1151
+ aria-label="Select row 2"
1152
+ value=""
1153
+ /><label
1154
+ class="usa-checkbox__label"
1155
+ for="html-table-checkbox-selection-:r3e:-select"
1156
+ ></label>
1157
+ </div>
1158
+ </td>
1159
+ <th class="usx-table__cell" scope="row">Alaska</th>
1160
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
1161
+ <td class="usx-table__cell">Pacific</td>
1162
+ <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
1163
+ </tr>
1164
+ <tr class="usx-table__row">
1165
+ <td class="usx-table__cell usx-table__cell--selection">
1166
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1167
+ <input
1168
+ class="usa-checkbox__input"
1169
+ id="html-table-checkbox-selection-:r3f:-select"
1170
+ type="checkbox"
1171
+ aria-label="Select row 3"
1172
+ value=""
1173
+ /><label
1174
+ class="usa-checkbox__label"
1175
+ for="html-table-checkbox-selection-:r3f:-select"
1176
+ ></label>
1177
+ </div>
1178
+ </td>
1179
+ <th class="usx-table__cell" scope="row">Arizona</th>
1180
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1181
+ <td class="usx-table__cell">Southwest</td>
1182
+ <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
1183
+ </tr>
1184
+ <tr class="usx-table__row">
1185
+ <td class="usx-table__cell usx-table__cell--selection">
1186
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1187
+ <input
1188
+ class="usa-checkbox__input"
1189
+ id="html-table-checkbox-selection-:r3g:-select"
1190
+ type="checkbox"
1191
+ aria-label="Select row 4"
1192
+ value=""
1193
+ /><label
1194
+ class="usa-checkbox__label"
1195
+ for="html-table-checkbox-selection-:r3g:-select"
1196
+ ></label>
1197
+ </div>
1198
+ </td>
1199
+ <th class="usx-table__cell" scope="row">New Mexico</th>
1200
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
1201
+ <td class="usx-table__cell">Southwest</td>
1202
+ <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
1203
+ </tr>
1204
+ <tr class="usx-table__row">
1205
+ <td class="usx-table__cell usx-table__cell--selection">
1206
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1207
+ <input
1208
+ class="usa-checkbox__input"
1209
+ id="html-table-checkbox-selection-:r3h:-select"
1210
+ type="checkbox"
1211
+ aria-label="Select row 5"
1212
+ value=""
1213
+ /><label
1214
+ class="usa-checkbox__label"
1215
+ for="html-table-checkbox-selection-:r3h:-select"
1216
+ ></label>
1217
+ </div>
1218
+ </td>
1219
+ <th class="usx-table__cell" scope="row">Oklahoma</th>
1220
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
1221
+ <td class="usx-table__cell">South</td>
1222
+ <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
1223
+ </tr>
1224
+ <tr class="usx-table__row">
1225
+ <td class="usx-table__cell usx-table__cell--selection">
1226
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1227
+ <input
1228
+ class="usa-checkbox__input"
1229
+ id="html-table-checkbox-selection-:r3i:-select"
1230
+ type="checkbox"
1231
+ aria-label="Select row 6"
1232
+ value=""
1233
+ /><label
1234
+ class="usa-checkbox__label"
1235
+ for="html-table-checkbox-selection-:r3i:-select"
1236
+ ></label>
1237
+ </div>
1238
+ </td>
1239
+ <th class="usx-table__cell" scope="row">Utah</th>
1240
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
1241
+ <td class="usx-table__cell">West</td>
1242
+ <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
1243
+ </tr>
1244
+ </tbody>
1245
+ </table>
1246
+
1247
+ <h3 class="site-preview-heading">Checkbox (right)</h3>
1248
+ <table
1249
+ id="html-table-checkbox-selection-right-checkbox-selection-right"
1250
+ class="usa-table usx-table"
1251
+ >
1252
+ <caption class="usx-table__caption">
1253
+ Checkboxes on the right
1254
+ </caption>
1255
+ <thead class="usx-table__head">
1256
+ <tr hidden="" aria-hidden="true">
1257
+ <td>
1258
+ <span
1259
+ class="usa-sr-only usa-table__announcement-region"
1260
+ aria-live="polite"
1261
+ id="html-table-checkbox-selection-right-checkbox-selection-right-sort-announcement"
1262
+ ></span>
1263
+ </td>
1264
+ </tr>
1265
+ <tr class="usx-table__head-row">
1266
+ <th scope="col" class="usx-table__cell" data-sortable="true">
1267
+ <button type="button" class="usx-table__sort-button">
1268
+ State<svg
1269
+ class="usa-icon usa-icon--size-2"
1270
+ aria-hidden="true"
1271
+ aria-label="sort_arrow icon"
1272
+ focusable="false"
1273
+ role="img"
1274
+ >
1275
+ <use href="/img/sprite.svg#sort_arrow"></use>
1276
+ </svg>
1277
+ </button>
1278
+ </th>
1279
+ <th
1280
+ scope="col"
1281
+ class="usx-table__cell usx-table__cell--align-right"
1282
+ data-sortable="true"
1283
+ style="width: 8rem"
1284
+ >
1285
+ <button type="button" class="usx-table__sort-button">
1286
+ Order admitted<svg
1287
+ class="usa-icon usa-icon--size-2"
1288
+ aria-hidden="true"
1289
+ aria-label="sort_arrow icon"
1290
+ focusable="false"
1291
+ role="img"
1292
+ >
1293
+ <use href="/img/sprite.svg#sort_arrow"></use>
1294
+ </svg>
1295
+ </button>
1296
+ </th>
1297
+ <th scope="col" class="usx-table__cell" data-sortable="true">
1298
+ <button type="button" class="usx-table__sort-button">
1299
+ Region<svg
1300
+ class="usa-icon usa-icon--size-2"
1301
+ aria-hidden="true"
1302
+ aria-label="sort_arrow icon"
1303
+ focusable="false"
1304
+ role="img"
1305
+ >
1306
+ <use href="/img/sprite.svg#sort_arrow"></use>
1307
+ </svg>
1308
+ </button>
1309
+ </th>
1310
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
1311
+ <button type="button" class="usx-table__sort-button">
1312
+ Population at admission<svg
1313
+ class="usa-icon usa-icon--size-2"
1314
+ aria-hidden="true"
1315
+ aria-label="sort_arrow icon"
1316
+ focusable="false"
1317
+ role="img"
1318
+ >
1319
+ <use href="/img/sprite.svg#sort_arrow"></use>
1320
+ </svg>
1321
+ </button>
1322
+ </th>
1323
+ <th scope="col" rowspan="1" class="usx-table__cell usx-table__cell--selection">
1324
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1325
+ <input
1326
+ class="usa-checkbox__input"
1327
+ id="html-table-checkbox-selection-right-checkbox-selection-right-select-all"
1328
+ type="checkbox"
1329
+ aria-label="Select all rows"
1330
+ value=""
1331
+ /><label
1332
+ class="usa-checkbox__label"
1333
+ for="html-table-checkbox-selection-right-checkbox-selection-right-select-all"
1334
+ ></label>
1335
+ </div>
1336
+ </th>
1337
+ </tr>
1338
+ </thead>
1339
+ <tbody class="usx-table__body">
1340
+ <tr class="usx-table__row">
1341
+ <th class="usx-table__cell" scope="row">Hawaii</th>
1342
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1343
+ <td class="usx-table__cell">Pacific</td>
1344
+ <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
1345
+ <td class="usx-table__cell usx-table__cell--selection">
1346
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1347
+ <input
1348
+ class="usa-checkbox__input"
1349
+ id="html-table-checkbox-selection-right-:r3k:-select"
1350
+ type="checkbox"
1351
+ aria-label="Select row 1"
1352
+ value=""
1353
+ /><label
1354
+ class="usa-checkbox__label"
1355
+ for="html-table-checkbox-selection-right-:r3k:-select"
1356
+ ></label>
1357
+ </div>
1358
+ </td>
1359
+ </tr>
1360
+ <tr class="usx-table__row">
1361
+ <th class="usx-table__cell" scope="row">Alaska</th>
1362
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
1363
+ <td class="usx-table__cell">Pacific</td>
1364
+ <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
1365
+ <td class="usx-table__cell usx-table__cell--selection">
1366
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1367
+ <input
1368
+ class="usa-checkbox__input"
1369
+ id="html-table-checkbox-selection-right-:r3l:-select"
1370
+ type="checkbox"
1371
+ aria-label="Select row 2"
1372
+ value=""
1373
+ /><label
1374
+ class="usa-checkbox__label"
1375
+ for="html-table-checkbox-selection-right-:r3l:-select"
1376
+ ></label>
1377
+ </div>
1378
+ </td>
1379
+ </tr>
1380
+ <tr class="usx-table__row">
1381
+ <th class="usx-table__cell" scope="row">Arizona</th>
1382
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1383
+ <td class="usx-table__cell">Southwest</td>
1384
+ <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
1385
+ <td class="usx-table__cell usx-table__cell--selection">
1386
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1387
+ <input
1388
+ class="usa-checkbox__input"
1389
+ id="html-table-checkbox-selection-right-:r3m:-select"
1390
+ type="checkbox"
1391
+ aria-label="Select row 3"
1392
+ value=""
1393
+ /><label
1394
+ class="usa-checkbox__label"
1395
+ for="html-table-checkbox-selection-right-:r3m:-select"
1396
+ ></label>
1397
+ </div>
1398
+ </td>
1399
+ </tr>
1400
+ <tr class="usx-table__row">
1401
+ <th class="usx-table__cell" scope="row">New Mexico</th>
1402
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
1403
+ <td class="usx-table__cell">Southwest</td>
1404
+ <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
1405
+ <td class="usx-table__cell usx-table__cell--selection">
1406
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1407
+ <input
1408
+ class="usa-checkbox__input"
1409
+ id="html-table-checkbox-selection-right-:r3n:-select"
1410
+ type="checkbox"
1411
+ aria-label="Select row 4"
1412
+ value=""
1413
+ /><label
1414
+ class="usa-checkbox__label"
1415
+ for="html-table-checkbox-selection-right-:r3n:-select"
1416
+ ></label>
1417
+ </div>
1418
+ </td>
1419
+ </tr>
1420
+ <tr class="usx-table__row">
1421
+ <th class="usx-table__cell" scope="row">Oklahoma</th>
1422
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
1423
+ <td class="usx-table__cell">South</td>
1424
+ <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
1425
+ <td class="usx-table__cell usx-table__cell--selection">
1426
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1427
+ <input
1428
+ class="usa-checkbox__input"
1429
+ id="html-table-checkbox-selection-right-:r3o:-select"
1430
+ type="checkbox"
1431
+ aria-label="Select row 5"
1432
+ value=""
1433
+ /><label
1434
+ class="usa-checkbox__label"
1435
+ for="html-table-checkbox-selection-right-:r3o:-select"
1436
+ ></label>
1437
+ </div>
1438
+ </td>
1439
+ </tr>
1440
+ <tr class="usx-table__row">
1441
+ <th class="usx-table__cell" scope="row">Utah</th>
1442
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
1443
+ <td class="usx-table__cell">West</td>
1444
+ <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
1445
+ <td class="usx-table__cell usx-table__cell--selection">
1446
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1447
+ <input
1448
+ class="usa-checkbox__input"
1449
+ id="html-table-checkbox-selection-right-:r3p:-select"
1450
+ type="checkbox"
1451
+ aria-label="Select row 6"
1452
+ value=""
1453
+ /><label
1454
+ class="usa-checkbox__label"
1455
+ for="html-table-checkbox-selection-right-:r3p:-select"
1456
+ ></label>
1457
+ </div>
1458
+ </td>
1459
+ </tr>
1460
+ </tbody>
1461
+ </table>
1462
+
1463
+ <h3 class="site-preview-heading">Checkbox (controlled)</h3>
1464
+ <div>
1465
+ <p>Selected: 1, 3</p>
1466
+ <table id="html-table-checkbox-controlled-checkbox-selection" class="usa-table usx-table">
1467
+ <caption class="usx-table__caption">
1468
+ Multi-select with checkboxes
763
1469
  </caption>
764
- <thead>
765
- <tr>
766
- <th data-sortable scope="col" role="columnheader">Alphabetical</th>
767
- <th data-sortable scope="col" role="columnheader">Month</th>
768
- <th data-sortable scope="col" role="columnheader">Percent</th>
769
- <th data-sortable scope="col" role="columnheader">Count</th>
770
- <th data-sortable scope="col" role="columnheader">Rank (Ordinal)</th>
771
- <th data-sortable scope="col" role="columnheader">Rank (Cardinal)</th>
772
- <th data-sortable scope="col" role="columnheader">Unix Timestamp</th>
773
- </tr>
774
- </thead>
775
- <tbody>
776
- <tr>
777
- <th scope="row">Tango</th>
778
- <td data-sort-value="3">March</td>
779
- <td
780
- data-sort-value="0.206"
781
- class="font-mono-sm text-tabular text-right"
782
- >
783
- 20.6%
784
- </td>
785
- <td
786
- data-sort-value="23612"
787
- class="font-mono-sm text-tabular text-right"
788
- >
789
- 23,612
790
- </td>
791
- <td data-sort-value="3">Third</td>
792
- <td data-sort-value="3">3rd</td>
793
- <td data-sort-value="1332884673452">March 27, 2012</td>
794
- </tr>
795
- <tr>
796
- <th scope="row">Foxtrot</th>
797
- <td data-sort-value="4">April</td>
798
- <td
799
- data-sort-value="0.026"
800
- class="font-mono-sm text-tabular text-right"
801
- >
802
- 2.6%
803
- </td>
804
- <td data-sort-value="-32" class="font-mono-sm text-tabular text-right">
805
- -32
1470
+ <thead class="usx-table__head">
1471
+ <tr hidden="" aria-hidden="true">
1472
+ <td>
1473
+ <span
1474
+ class="usa-sr-only usa-table__announcement-region"
1475
+ aria-live="polite"
1476
+ id="html-table-checkbox-controlled-checkbox-selection-sort-announcement"
1477
+ ></span>
806
1478
  </td>
807
- <td data-sort-value="1">First</td>
808
- <td data-sort-value="1">1st</td>
809
- <td data-sort-value="1617974313232">April 9, 2021</td>
810
1479
  </tr>
811
- <tr>
812
- <th scope="row">Hilo</th>
813
- <td data-sort-value="1">January</td>
814
- <td
815
- data-sort-value="-0.036"
816
- class="font-mono-sm text-tabular text-right"
817
- >
818
- -3.6%
819
- </td>
820
- <td
821
- data-sort-value="0.002"
822
- class="font-mono-sm text-tabular text-right"
1480
+ <tr class="usx-table__head-row">
1481
+ <th scope="col" rowspan="1" class="usx-table__cell usx-table__cell--selection">
1482
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1483
+ <input
1484
+ class="usa-checkbox__input"
1485
+ id="html-table-checkbox-controlled-checkbox-selection-select-all"
1486
+ type="checkbox"
1487
+ aria-label="Select all rows"
1488
+ value=""
1489
+ /><label
1490
+ class="usa-checkbox__label"
1491
+ for="html-table-checkbox-controlled-checkbox-selection-select-all"
1492
+ ></label>
1493
+ </div>
1494
+ </th>
1495
+ <th scope="col" class="usx-table__cell" data-sortable="true">
1496
+ <button type="button" class="usx-table__sort-button">
1497
+ State<svg
1498
+ class="usa-icon usa-icon--size-2"
1499
+ aria-hidden="true"
1500
+ aria-label="sort_arrow icon"
1501
+ focusable="false"
1502
+ role="img"
1503
+ >
1504
+ <use href="/img/sprite.svg#sort_arrow"></use>
1505
+ </svg>
1506
+ </button>
1507
+ </th>
1508
+ <th
1509
+ scope="col"
1510
+ class="usx-table__cell usx-table__cell--align-right"
1511
+ data-sortable="true"
1512
+ style="width: 8rem"
823
1513
  >
824
- 0.002
825
- </td>
826
- <td data-sort-value="2">Second</td>
827
- <td>2nd</td>
828
- <td data-sort-value="1611169964684">January 20, 2021</td>
1514
+ <button type="button" class="usx-table__sort-button">
1515
+ Order admitted<svg
1516
+ class="usa-icon usa-icon--size-2"
1517
+ aria-hidden="true"
1518
+ aria-label="sort_arrow icon"
1519
+ focusable="false"
1520
+ role="img"
1521
+ >
1522
+ <use href="/img/sprite.svg#sort_arrow"></use>
1523
+ </svg>
1524
+ </button>
1525
+ </th>
1526
+ <th scope="col" class="usx-table__cell" data-sortable="true">
1527
+ <button type="button" class="usx-table__sort-button">
1528
+ Region<svg
1529
+ class="usa-icon usa-icon--size-2"
1530
+ aria-hidden="true"
1531
+ aria-label="sort_arrow icon"
1532
+ focusable="false"
1533
+ role="img"
1534
+ >
1535
+ <use href="/img/sprite.svg#sort_arrow"></use>
1536
+ </svg>
1537
+ </button>
1538
+ </th>
1539
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
1540
+ <button type="button" class="usx-table__sort-button">
1541
+ Population at admission<svg
1542
+ class="usa-icon usa-icon--size-2"
1543
+ aria-hidden="true"
1544
+ aria-label="sort_arrow icon"
1545
+ focusable="false"
1546
+ role="img"
1547
+ >
1548
+ <use href="/img/sprite.svg#sort_arrow"></use>
1549
+ </svg>
1550
+ </button>
1551
+ </th>
829
1552
  </tr>
830
- <tr>
831
- <th scope="row">Bravo</th>
832
- <td data-sort-value="12">December</td>
833
- <td
834
- data-sort-value="-3.006"
835
- class="font-mono-sm text-tabular text-right"
836
- >
837
- -300.6%
838
- </td>
839
- <td data-sort-value="0" class="font-mono-sm text-tabular text-right">
840
- 0
841
- </td>
842
- <td data-sort-value="4">Fourth</td>
843
- <td data-sort-value="4">4th</td>
844
- <td data-sort-value="1608114345343">December 16, 2020</td>
1553
+ </thead>
1554
+ <tbody class="usx-table__body">
1555
+ <tr class="usx-table__row usx-table__row--selected">
1556
+ <td class="usx-table__cell usx-table__cell--selection">
1557
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1558
+ <input
1559
+ class="usa-checkbox__input"
1560
+ id="html-table-checkbox-controlled-:r3r:-select"
1561
+ type="checkbox"
1562
+ aria-label="Select row 1"
1563
+ value=""
1564
+ checked=""
1565
+ /><label
1566
+ class="usa-checkbox__label"
1567
+ for="html-table-checkbox-controlled-:r3r:-select"
1568
+ ></label>
1569
+ </div>
1570
+ </td>
1571
+ <th class="usx-table__cell" scope="row">Hawaii</th>
1572
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1573
+ <td class="usx-table__cell">Pacific</td>
1574
+ <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
845
1575
  </tr>
846
- </tbody>
847
- </table>
848
- <div
849
- class="usa-sr-only usa-table__announcement-region"
850
- aria-live="polite"
851
- ></div>
852
- </div>
853
- <div class="usa-table-container--scrollable" tabindex="0">
854
- <table class="usa-table usx-table usa-table--borderless">
855
- <caption>
856
- Sortable borderless table with various content types
857
- </caption>
858
- <thead>
859
- <tr>
860
- <th data-sortable scope="col" role="columnheader">Alphabetical</th>
861
- <th data-sortable scope="col" role="columnheader">Month</th>
862
- <th data-sortable scope="col" role="columnheader">Percent</th>
863
- <th data-sortable scope="col" role="columnheader">Count</th>
864
- <th data-sortable scope="col" role="columnheader">Rank (Ordinal)</th>
865
- <th data-sortable scope="col" role="columnheader">Rank (Cardinal)</th>
866
- <th data-sortable scope="col" role="columnheader">Unix Timestamp</th>
1576
+ <tr class="usx-table__row">
1577
+ <td class="usx-table__cell usx-table__cell--selection">
1578
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1579
+ <input
1580
+ class="usa-checkbox__input"
1581
+ id="html-table-checkbox-controlled-:r3s:-select"
1582
+ type="checkbox"
1583
+ aria-label="Select row 2"
1584
+ value=""
1585
+ /><label
1586
+ class="usa-checkbox__label"
1587
+ for="html-table-checkbox-controlled-:r3s:-select"
1588
+ ></label>
1589
+ </div>
1590
+ </td>
1591
+ <th class="usx-table__cell" scope="row">Alaska</th>
1592
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
1593
+ <td class="usx-table__cell">Pacific</td>
1594
+ <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
867
1595
  </tr>
868
- </thead>
869
- <tbody>
870
- <tr>
871
- <th scope="row">Tango</th>
872
- <td data-sort-value="3">March</td>
873
- <td
874
- data-sort-value="0.206"
875
- class="font-mono-sm text-tabular text-right"
876
- >
877
- 20.6%
878
- </td>
879
- <td
880
- data-sort-value="23612"
881
- class="font-mono-sm text-tabular text-right"
882
- >
883
- 23,612
884
- </td>
885
- <td data-sort-value="3">Third</td>
886
- <td data-sort-value="3">3rd</td>
887
- <td data-sort-value="1332884673452">March 27, 2012</td>
1596
+ <tr class="usx-table__row usx-table__row--selected">
1597
+ <td class="usx-table__cell usx-table__cell--selection">
1598
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1599
+ <input
1600
+ class="usa-checkbox__input"
1601
+ id="html-table-checkbox-controlled-:r3t:-select"
1602
+ type="checkbox"
1603
+ aria-label="Select row 3"
1604
+ value=""
1605
+ checked=""
1606
+ /><label
1607
+ class="usa-checkbox__label"
1608
+ for="html-table-checkbox-controlled-:r3t:-select"
1609
+ ></label>
1610
+ </div>
1611
+ </td>
1612
+ <th class="usx-table__cell" scope="row">Arizona</th>
1613
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1614
+ <td class="usx-table__cell">Southwest</td>
1615
+ <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
888
1616
  </tr>
889
- <tr>
890
- <th scope="row">Foxtrot</th>
891
- <td data-sort-value="4">April</td>
892
- <td
893
- data-sort-value="0.026"
894
- class="font-mono-sm text-tabular text-right"
895
- >
896
- 2.6%
897
- </td>
898
- <td data-sort-value="-32" class="font-mono-sm text-tabular text-right">
899
- -32
900
- </td>
901
- <td data-sort-value="1">First</td>
902
- <td data-sort-value="1">1st</td>
903
- <td data-sort-value="1617974313232">April 9, 2021</td>
1617
+ <tr class="usx-table__row">
1618
+ <td class="usx-table__cell usx-table__cell--selection">
1619
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1620
+ <input
1621
+ class="usa-checkbox__input"
1622
+ id="html-table-checkbox-controlled-:r3u:-select"
1623
+ type="checkbox"
1624
+ aria-label="Select row 4"
1625
+ value=""
1626
+ /><label
1627
+ class="usa-checkbox__label"
1628
+ for="html-table-checkbox-controlled-:r3u:-select"
1629
+ ></label>
1630
+ </div>
1631
+ </td>
1632
+ <th class="usx-table__cell" scope="row">New Mexico</th>
1633
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
1634
+ <td class="usx-table__cell">Southwest</td>
1635
+ <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
904
1636
  </tr>
905
- <tr>
906
- <th scope="row">Hilo</th>
907
- <td data-sort-value="1">January</td>
908
- <td
909
- data-sort-value="-0.036"
910
- class="font-mono-sm text-tabular text-right"
911
- >
912
- -3.6%
913
- </td>
914
- <td
915
- data-sort-value="0.002"
916
- class="font-mono-sm text-tabular text-right"
917
- >
918
- 0.002
919
- </td>
920
- <td data-sort-value="2">Second</td>
921
- <td>2nd</td>
922
- <td data-sort-value="1611169964684">January 20, 2021</td>
1637
+ <tr class="usx-table__row">
1638
+ <td class="usx-table__cell usx-table__cell--selection">
1639
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1640
+ <input
1641
+ class="usa-checkbox__input"
1642
+ id="html-table-checkbox-controlled-:r3v:-select"
1643
+ type="checkbox"
1644
+ aria-label="Select row 5"
1645
+ value=""
1646
+ /><label
1647
+ class="usa-checkbox__label"
1648
+ for="html-table-checkbox-controlled-:r3v:-select"
1649
+ ></label>
1650
+ </div>
1651
+ </td>
1652
+ <th class="usx-table__cell" scope="row">Oklahoma</th>
1653
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
1654
+ <td class="usx-table__cell">South</td>
1655
+ <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
923
1656
  </tr>
924
- <tr>
925
- <th scope="row">Bravo</th>
926
- <td data-sort-value="12">December</td>
927
- <td
928
- data-sort-value="-3.006"
929
- class="font-mono-sm text-tabular text-right"
930
- >
931
- -300.6%
932
- </td>
933
- <td data-sort-value="0" class="font-mono-sm text-tabular text-right">
934
- 0
935
- </td>
936
- <td data-sort-value="4">Fourth</td>
937
- <td data-sort-value="4">4th</td>
938
- <td data-sort-value="1608114345343">December 16, 2020</td>
1657
+ <tr class="usx-table__row">
1658
+ <td class="usx-table__cell usx-table__cell--selection">
1659
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1660
+ <input
1661
+ class="usa-checkbox__input"
1662
+ id="html-table-checkbox-controlled-:r40:-select"
1663
+ type="checkbox"
1664
+ aria-label="Select row 6"
1665
+ value=""
1666
+ /><label
1667
+ class="usa-checkbox__label"
1668
+ for="html-table-checkbox-controlled-:r40:-select"
1669
+ ></label>
1670
+ </div>
1671
+ </td>
1672
+ <th class="usx-table__cell" scope="row">Utah</th>
1673
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
1674
+ <td class="usx-table__cell">West</td>
1675
+ <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
939
1676
  </tr>
940
1677
  </tbody>
941
1678
  </table>
942
- <div
943
- class="usa-sr-only usa-table__announcement-region"
944
- aria-live="polite"
945
- ></div>
946
1679
  </div>
947
1680
 
948
- <h3 class="site-preview-heading">Sticky Table Headers</h3>
949
- <table class="usa-table usa-table--sticky-header">
950
- <caption>
951
- Sticky header table
1681
+ <h3 class="site-preview-heading">Radio Selection</h3>
1682
+ <table id="html-table-radio-selection-radio-selection" class="usa-table usx-table">
1683
+ <caption class="usx-table__caption">
1684
+ Single-select with radio buttons
952
1685
  </caption>
953
- <thead>
954
- <tr>
955
- <th scope="col">Document title</th>
956
- <th scope="col">Description</th>
957
- <th scope="col">Year</th>
958
- </tr>
959
- </thead>
960
- <tbody>
961
- <tr>
962
- <th scope="row">Declaration of Independence</th>
1686
+ <thead class="usx-table__head">
1687
+ <tr hidden="" aria-hidden="true">
963
1688
  <td>
964
- Statement adopted by the Continental Congress declaring independence
965
- from the British Empire.
1689
+ <span
1690
+ class="usa-sr-only usa-table__announcement-region"
1691
+ aria-live="polite"
1692
+ id="html-table-radio-selection-radio-selection-sort-announcement"
1693
+ ></span>
966
1694
  </td>
967
- <td>1776</td>
968
1695
  </tr>
969
- <tr>
970
- <th scope="row">Bill of Rights</th>
971
- <td>
972
- The first ten amendments of the U.S. Constitution guaranteeing rights
973
- and freedoms.
974
- </td>
975
- <td>1791</td>
1696
+ <tr class="usx-table__head-row">
1697
+ <th scope="col" rowspan="1" class="usx-table__cell usx-table__cell--selection"></th>
1698
+ <th scope="col" class="usx-table__cell" data-sortable="true">
1699
+ <button type="button" class="usx-table__sort-button">
1700
+ State<svg
1701
+ class="usa-icon usa-icon--size-2"
1702
+ aria-hidden="true"
1703
+ aria-label="sort_arrow icon"
1704
+ focusable="false"
1705
+ role="img"
1706
+ >
1707
+ <use href="/img/sprite.svg#sort_arrow"></use>
1708
+ </svg>
1709
+ </button>
1710
+ </th>
1711
+ <th
1712
+ scope="col"
1713
+ class="usx-table__cell usx-table__cell--align-right"
1714
+ data-sortable="true"
1715
+ style="width: 8rem"
1716
+ >
1717
+ <button type="button" class="usx-table__sort-button">
1718
+ Order admitted<svg
1719
+ class="usa-icon usa-icon--size-2"
1720
+ aria-hidden="true"
1721
+ aria-label="sort_arrow icon"
1722
+ focusable="false"
1723
+ role="img"
1724
+ >
1725
+ <use href="/img/sprite.svg#sort_arrow"></use>
1726
+ </svg>
1727
+ </button>
1728
+ </th>
1729
+ <th scope="col" class="usx-table__cell" data-sortable="true">
1730
+ <button type="button" class="usx-table__sort-button">
1731
+ Region<svg
1732
+ class="usa-icon usa-icon--size-2"
1733
+ aria-hidden="true"
1734
+ aria-label="sort_arrow icon"
1735
+ focusable="false"
1736
+ role="img"
1737
+ >
1738
+ <use href="/img/sprite.svg#sort_arrow"></use>
1739
+ </svg>
1740
+ </button>
1741
+ </th>
1742
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
1743
+ <button type="button" class="usx-table__sort-button">
1744
+ Population at admission<svg
1745
+ class="usa-icon usa-icon--size-2"
1746
+ aria-hidden="true"
1747
+ aria-label="sort_arrow icon"
1748
+ focusable="false"
1749
+ role="img"
1750
+ >
1751
+ <use href="/img/sprite.svg#sort_arrow"></use>
1752
+ </svg>
1753
+ </button>
1754
+ </th>
976
1755
  </tr>
977
- <tr>
978
- <th scope="row">Declaration of Sentiments</th>
979
- <td>
980
- A document written during the Seneca Falls Convention outlining the
981
- rights that American women should be entitled to as citizens.
1756
+ </thead>
1757
+ <tbody class="usx-table__body">
1758
+ <tr class="usx-table__row">
1759
+ <td class="usx-table__cell usx-table__cell--selection">
1760
+ <div class="usa-radio usx-table__radio">
1761
+ <input
1762
+ type="radio"
1763
+ id="html-table-radio-selection-:r42:-select"
1764
+ class="usa-radio__input"
1765
+ aria-label="Select row 1"
1766
+ /><label class="usa-radio__label" for="html-table-radio-selection-:r42:-select"></label>
1767
+ </div>
982
1768
  </td>
983
- <td>1848</td>
1769
+ <th class="usx-table__cell" scope="row">Hawaii</th>
1770
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1771
+ <td class="usx-table__cell">Pacific</td>
1772
+ <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
984
1773
  </tr>
985
- <tr>
986
- <th scope="row">Emancipation Proclamation</th>
987
- <td>
988
- An executive order granting freedom to slaves in designated southern
989
- states.
1774
+ <tr class="usx-table__row">
1775
+ <td class="usx-table__cell usx-table__cell--selection">
1776
+ <div class="usa-radio usx-table__radio">
1777
+ <input
1778
+ type="radio"
1779
+ id="html-table-radio-selection-:r43:-select"
1780
+ class="usa-radio__input"
1781
+ aria-label="Select row 2"
1782
+ /><label class="usa-radio__label" for="html-table-radio-selection-:r43:-select"></label>
1783
+ </div>
990
1784
  </td>
991
- <td>1863</td>
1785
+ <th class="usx-table__cell" scope="row">Alaska</th>
1786
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
1787
+ <td class="usx-table__cell">Pacific</td>
1788
+ <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
992
1789
  </tr>
993
- <tr>
994
- <th scope="row">Declaration of Independence</th>
995
- <td>
996
- Statement adopted by the Continental Congress declaring independence
997
- from the British Empire.
1790
+ <tr class="usx-table__row">
1791
+ <td class="usx-table__cell usx-table__cell--selection">
1792
+ <div class="usa-radio usx-table__radio">
1793
+ <input
1794
+ type="radio"
1795
+ id="html-table-radio-selection-:r44:-select"
1796
+ class="usa-radio__input"
1797
+ aria-label="Select row 3"
1798
+ /><label class="usa-radio__label" for="html-table-radio-selection-:r44:-select"></label>
1799
+ </div>
998
1800
  </td>
999
- <td>1776</td>
1801
+ <th class="usx-table__cell" scope="row">Arizona</th>
1802
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1803
+ <td class="usx-table__cell">Southwest</td>
1804
+ <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
1000
1805
  </tr>
1001
- <tr>
1002
- <th scope="row">Bill of Rights</th>
1003
- <td>
1004
- The first ten amendments of the U.S. Constitution guaranteeing rights
1005
- and freedoms.
1806
+ <tr class="usx-table__row">
1807
+ <td class="usx-table__cell usx-table__cell--selection">
1808
+ <div class="usa-radio usx-table__radio">
1809
+ <input
1810
+ type="radio"
1811
+ id="html-table-radio-selection-:r45:-select"
1812
+ class="usa-radio__input"
1813
+ aria-label="Select row 4"
1814
+ /><label class="usa-radio__label" for="html-table-radio-selection-:r45:-select"></label>
1815
+ </div>
1006
1816
  </td>
1007
- <td>1791</td>
1817
+ <th class="usx-table__cell" scope="row">New Mexico</th>
1818
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
1819
+ <td class="usx-table__cell">Southwest</td>
1820
+ <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
1008
1821
  </tr>
1009
- <tr>
1010
- <th scope="row">Declaration of Sentiments</th>
1011
- <td>
1012
- A document written during the Seneca Falls Convention outlining the
1013
- rights that American women should be entitled to as citizens.
1822
+ <tr class="usx-table__row">
1823
+ <td class="usx-table__cell usx-table__cell--selection">
1824
+ <div class="usa-radio usx-table__radio">
1825
+ <input
1826
+ type="radio"
1827
+ id="html-table-radio-selection-:r46:-select"
1828
+ class="usa-radio__input"
1829
+ aria-label="Select row 5"
1830
+ /><label class="usa-radio__label" for="html-table-radio-selection-:r46:-select"></label>
1831
+ </div>
1014
1832
  </td>
1015
- <td>1848</td>
1833
+ <th class="usx-table__cell" scope="row">Oklahoma</th>
1834
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
1835
+ <td class="usx-table__cell">South</td>
1836
+ <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
1016
1837
  </tr>
1017
- <tr>
1018
- <th scope="row">Emancipation Proclamation</th>
1019
- <td>
1020
- An executive order granting freedom to slaves in designated southern
1021
- states.
1838
+ <tr class="usx-table__row">
1839
+ <td class="usx-table__cell usx-table__cell--selection">
1840
+ <div class="usa-radio usx-table__radio">
1841
+ <input
1842
+ type="radio"
1843
+ id="html-table-radio-selection-:r47:-select"
1844
+ class="usa-radio__input"
1845
+ aria-label="Select row 6"
1846
+ /><label class="usa-radio__label" for="html-table-radio-selection-:r47:-select"></label>
1847
+ </div>
1022
1848
  </td>
1023
- <td>1863</td>
1849
+ <th class="usx-table__cell" scope="row">Utah</th>
1850
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
1851
+ <td class="usx-table__cell">West</td>
1852
+ <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
1024
1853
  </tr>
1025
- <tr>
1026
- <th scope="row">Declaration of Independence</th>
1854
+ </tbody>
1855
+ </table>
1856
+
1857
+ <h3 class="site-preview-heading">Disabled Rows</h3>
1858
+ <table id="html-table-disabled-rows-disabled-rows" class="usa-table usx-table">
1859
+ <caption class="usx-table__caption">
1860
+ Rows 2 and 4 are disabled
1861
+ </caption>
1862
+ <thead class="usx-table__head">
1863
+ <tr hidden="" aria-hidden="true">
1027
1864
  <td>
1028
- Statement adopted by the Continental Congress declaring independence
1029
- from the British Empire.
1865
+ <span
1866
+ class="usa-sr-only usa-table__announcement-region"
1867
+ aria-live="polite"
1868
+ id="html-table-disabled-rows-disabled-rows-sort-announcement"
1869
+ ></span>
1030
1870
  </td>
1031
- <td>1776</td>
1032
1871
  </tr>
1033
- <tr>
1034
- <th scope="row">Bill of Rights</th>
1035
- <td>
1036
- The first ten amendments of the U.S. Constitution guaranteeing rights
1037
- and freedoms.
1038
- </td>
1039
- <td>1791</td>
1872
+ <tr class="usx-table__head-row">
1873
+ <th scope="col" rowspan="1" class="usx-table__cell usx-table__cell--selection">
1874
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1875
+ <input
1876
+ class="usa-checkbox__input"
1877
+ id="html-table-disabled-rows-disabled-rows-select-all"
1878
+ type="checkbox"
1879
+ aria-label="Select all rows"
1880
+ value=""
1881
+ /><label
1882
+ class="usa-checkbox__label"
1883
+ for="html-table-disabled-rows-disabled-rows-select-all"
1884
+ ></label>
1885
+ </div>
1886
+ </th>
1887
+ <th scope="col" class="usx-table__cell" data-sortable="true">
1888
+ <button type="button" class="usx-table__sort-button">
1889
+ State<svg
1890
+ class="usa-icon usa-icon--size-2"
1891
+ aria-hidden="true"
1892
+ aria-label="sort_arrow icon"
1893
+ focusable="false"
1894
+ role="img"
1895
+ >
1896
+ <use href="/img/sprite.svg#sort_arrow"></use>
1897
+ </svg>
1898
+ </button>
1899
+ </th>
1900
+ <th
1901
+ scope="col"
1902
+ class="usx-table__cell usx-table__cell--align-right"
1903
+ data-sortable="true"
1904
+ style="width: 8rem"
1905
+ >
1906
+ <button type="button" class="usx-table__sort-button">
1907
+ Order admitted<svg
1908
+ class="usa-icon usa-icon--size-2"
1909
+ aria-hidden="true"
1910
+ aria-label="sort_arrow icon"
1911
+ focusable="false"
1912
+ role="img"
1913
+ >
1914
+ <use href="/img/sprite.svg#sort_arrow"></use>
1915
+ </svg>
1916
+ </button>
1917
+ </th>
1918
+ <th scope="col" class="usx-table__cell" data-sortable="true">
1919
+ <button type="button" class="usx-table__sort-button">
1920
+ Region<svg
1921
+ class="usa-icon usa-icon--size-2"
1922
+ aria-hidden="true"
1923
+ aria-label="sort_arrow icon"
1924
+ focusable="false"
1925
+ role="img"
1926
+ >
1927
+ <use href="/img/sprite.svg#sort_arrow"></use>
1928
+ </svg>
1929
+ </button>
1930
+ </th>
1931
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
1932
+ <button type="button" class="usx-table__sort-button">
1933
+ Population at admission<svg
1934
+ class="usa-icon usa-icon--size-2"
1935
+ aria-hidden="true"
1936
+ aria-label="sort_arrow icon"
1937
+ focusable="false"
1938
+ role="img"
1939
+ >
1940
+ <use href="/img/sprite.svg#sort_arrow"></use>
1941
+ </svg>
1942
+ </button>
1943
+ </th>
1040
1944
  </tr>
1041
- <tr>
1042
- <th scope="row">Declaration of Sentiments</th>
1043
- <td>
1044
- A document written during the Seneca Falls Convention outlining the
1045
- rights that American women should be entitled to as citizens.
1945
+ </thead>
1946
+ <tbody class="usx-table__body">
1947
+ <tr class="usx-table__row">
1948
+ <td class="usx-table__cell usx-table__cell--selection">
1949
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1950
+ <input
1951
+ class="usa-checkbox__input"
1952
+ id="html-table-disabled-rows-:r49:-select"
1953
+ type="checkbox"
1954
+ aria-label="Select row 1"
1955
+ value=""
1956
+ /><label class="usa-checkbox__label" for="html-table-disabled-rows-:r49:-select"></label>
1957
+ </div>
1046
1958
  </td>
1047
- <td>1848</td>
1959
+ <th class="usx-table__cell" scope="row">Hawaii</th>
1960
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1961
+ <td class="usx-table__cell">Pacific</td>
1962
+ <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
1048
1963
  </tr>
1049
- <tr>
1050
- <th scope="row">Emancipation Proclamation</th>
1051
- <td>
1052
- An executive order granting freedom to slaves in designated southern
1053
- states.
1964
+ <tr class="usx-table__row usx-table__row--disabled">
1965
+ <td class="usx-table__cell usx-table__cell--selection">
1966
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1967
+ <input
1968
+ class="usa-checkbox__input"
1969
+ id="html-table-disabled-rows-:r4a:-select"
1970
+ type="checkbox"
1971
+ aria-label="Select row 2"
1972
+ disabled=""
1973
+ value=""
1974
+ /><label class="usa-checkbox__label" for="html-table-disabled-rows-:r4a:-select"></label>
1975
+ </div>
1054
1976
  </td>
1055
- <td>1863</td>
1977
+ <th class="usx-table__cell" scope="row">Alaska</th>
1978
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
1979
+ <td class="usx-table__cell">Pacific</td>
1980
+ <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
1056
1981
  </tr>
1057
- <tr>
1058
- <th scope="row">Declaration of Independence</th>
1059
- <td>
1060
- Statement adopted by the Continental Congress declaring independence
1061
- from the British Empire.
1982
+ <tr class="usx-table__row">
1983
+ <td class="usx-table__cell usx-table__cell--selection">
1984
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1985
+ <input
1986
+ class="usa-checkbox__input"
1987
+ id="html-table-disabled-rows-:r4b:-select"
1988
+ type="checkbox"
1989
+ aria-label="Select row 3"
1990
+ value=""
1991
+ /><label class="usa-checkbox__label" for="html-table-disabled-rows-:r4b:-select"></label>
1992
+ </div>
1062
1993
  </td>
1063
- <td>1776</td>
1994
+ <th class="usx-table__cell" scope="row">Arizona</th>
1995
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1996
+ <td class="usx-table__cell">Southwest</td>
1997
+ <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
1064
1998
  </tr>
1065
- <tr>
1066
- <th scope="row">Bill of Rights</th>
1067
- <td>
1068
- The first ten amendments of the U.S. Constitution guaranteeing rights
1069
- and freedoms.
1999
+ <tr class="usx-table__row usx-table__row--disabled">
2000
+ <td class="usx-table__cell usx-table__cell--selection">
2001
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
2002
+ <input
2003
+ class="usa-checkbox__input"
2004
+ id="html-table-disabled-rows-:r4c:-select"
2005
+ type="checkbox"
2006
+ aria-label="Select row 4"
2007
+ disabled=""
2008
+ value=""
2009
+ /><label class="usa-checkbox__label" for="html-table-disabled-rows-:r4c:-select"></label>
2010
+ </div>
1070
2011
  </td>
1071
- <td>1791</td>
2012
+ <th class="usx-table__cell" scope="row">New Mexico</th>
2013
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
2014
+ <td class="usx-table__cell">Southwest</td>
2015
+ <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
1072
2016
  </tr>
1073
- <tr>
1074
- <th scope="row">Declaration of Sentiments</th>
1075
- <td>
1076
- A document written during the Seneca Falls Convention outlining the
1077
- rights that American women should be entitled to as citizens.
2017
+ <tr class="usx-table__row">
2018
+ <td class="usx-table__cell usx-table__cell--selection">
2019
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
2020
+ <input
2021
+ class="usa-checkbox__input"
2022
+ id="html-table-disabled-rows-:r4d:-select"
2023
+ type="checkbox"
2024
+ aria-label="Select row 5"
2025
+ value=""
2026
+ /><label class="usa-checkbox__label" for="html-table-disabled-rows-:r4d:-select"></label>
2027
+ </div>
1078
2028
  </td>
1079
- <td>1848</td>
2029
+ <th class="usx-table__cell" scope="row">Oklahoma</th>
2030
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
2031
+ <td class="usx-table__cell">South</td>
2032
+ <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
1080
2033
  </tr>
1081
- <tr>
1082
- <th scope="row">Emancipation Proclamation</th>
1083
- <td>
1084
- An executive order granting freedom to slaves in designated southern
1085
- states.
2034
+ <tr class="usx-table__row">
2035
+ <td class="usx-table__cell usx-table__cell--selection">
2036
+ <div class="usa-checkbox usx-checkbox usx-table__checkbox">
2037
+ <input
2038
+ class="usa-checkbox__input"
2039
+ id="html-table-disabled-rows-:r4e:-select"
2040
+ type="checkbox"
2041
+ aria-label="Select row 6"
2042
+ value=""
2043
+ /><label class="usa-checkbox__label" for="html-table-disabled-rows-:r4e:-select"></label>
2044
+ </div>
1086
2045
  </td>
1087
- <td>1863</td>
2046
+ <th class="usx-table__cell" scope="row">Utah</th>
2047
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
2048
+ <td class="usx-table__cell">West</td>
2049
+ <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
1088
2050
  </tr>
1089
- <tr>
1090
- <th scope="row">Declaration of Independence</th>
2051
+ </tbody>
2052
+ </table>
2053
+
2054
+ <h3 class="site-preview-heading">Grouped Rows</h3>
2055
+ <table id="html-table-grouped-rows-grouped-rows" class="usa-table usx-table">
2056
+ <caption class="usx-table__caption">
2057
+ States grouped by region
2058
+ </caption>
2059
+ <thead class="usx-table__head">
2060
+ <tr hidden="" aria-hidden="true">
1091
2061
  <td>
1092
- Statement adopted by the Continental Congress declaring independence
1093
- from the British Empire.
2062
+ <span
2063
+ class="usa-sr-only usa-table__announcement-region"
2064
+ aria-live="polite"
2065
+ id="html-table-grouped-rows-grouped-rows-sort-announcement"
2066
+ ></span>
1094
2067
  </td>
1095
- <td>1776</td>
1096
2068
  </tr>
1097
- <tr>
1098
- <th scope="row">Bill of Rights</th>
1099
- <td>
1100
- The first ten amendments of the U.S. Constitution guaranteeing rights
1101
- and freedoms.
1102
- </td>
1103
- <td>1791</td>
2069
+ <tr class="usx-table__head-row">
2070
+ <th scope="col" class="usx-table__cell" data-sortable="true">
2071
+ <button type="button" class="usx-table__sort-button">
2072
+ State<svg
2073
+ class="usa-icon usa-icon--size-2"
2074
+ aria-hidden="true"
2075
+ aria-label="sort_arrow icon"
2076
+ focusable="false"
2077
+ role="img"
2078
+ >
2079
+ <use href="/img/sprite.svg#sort_arrow"></use>
2080
+ </svg>
2081
+ </button>
2082
+ </th>
2083
+ <th
2084
+ scope="col"
2085
+ class="usx-table__cell usx-table__cell--align-right"
2086
+ data-sortable="true"
2087
+ style="width: 8rem"
2088
+ >
2089
+ <button type="button" class="usx-table__sort-button">
2090
+ Order admitted<svg
2091
+ class="usa-icon usa-icon--size-2"
2092
+ aria-hidden="true"
2093
+ aria-label="sort_arrow icon"
2094
+ focusable="false"
2095
+ role="img"
2096
+ >
2097
+ <use href="/img/sprite.svg#sort_arrow"></use>
2098
+ </svg>
2099
+ </button>
2100
+ </th>
2101
+ <th scope="col" class="usx-table__cell" data-sortable="true">
2102
+ <button type="button" class="usx-table__sort-button">
2103
+ Region<svg
2104
+ class="usa-icon usa-icon--size-2"
2105
+ aria-hidden="true"
2106
+ aria-label="sort_arrow icon"
2107
+ focusable="false"
2108
+ role="img"
2109
+ >
2110
+ <use href="/img/sprite.svg#sort_arrow"></use>
2111
+ </svg>
2112
+ </button>
2113
+ </th>
2114
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
2115
+ <button type="button" class="usx-table__sort-button">
2116
+ Population at admission<svg
2117
+ class="usa-icon usa-icon--size-2"
2118
+ aria-hidden="true"
2119
+ aria-label="sort_arrow icon"
2120
+ focusable="false"
2121
+ role="img"
2122
+ >
2123
+ <use href="/img/sprite.svg#sort_arrow"></use>
2124
+ </svg>
2125
+ </button>
2126
+ </th>
1104
2127
  </tr>
1105
- <tr>
1106
- <th scope="row">Declaration of Sentiments</th>
1107
- <td>
1108
- A document written during the Seneca Falls Convention outlining the
1109
- rights that American women should be entitled to as citizens.
2128
+ </thead>
2129
+ <tbody class="usx-table__body">
2130
+ <tr class="usx-table__group-row">
2131
+ <td colspan="4" class="usx-table__group-cell">
2132
+ <div class="usx-accordion usa-accordion">
2133
+ <h4 class="usa-accordion__heading">
2134
+ <button
2135
+ type="button"
2136
+ class="usa-accordion__button usx-table__group-toggle"
2137
+ aria-expanded="true"
2138
+ >
2139
+ Pacific
2140
+ </button>
2141
+ </h4>
2142
+ </div>
1110
2143
  </td>
1111
- <td>1848</td>
1112
2144
  </tr>
1113
- <tr>
1114
- <th scope="row">Emancipation Proclamation</th>
1115
- <td>
1116
- An executive order granting freedom to slaves in designated southern
1117
- states.
1118
- </td>
1119
- <td>1863</td>
2145
+ <tr class="usx-table__row">
2146
+ <th class="usx-table__cell" scope="row">Hawaii</th>
2147
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
2148
+ <td class="usx-table__cell">Pacific</td>
2149
+ <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
1120
2150
  </tr>
1121
- <tr>
1122
- <th scope="row">Declaration of Independence</th>
1123
- <td>
1124
- Statement adopted by the Continental Congress declaring independence
1125
- from the British Empire.
2151
+ <tr class="usx-table__row">
2152
+ <th class="usx-table__cell" scope="row">Alaska</th>
2153
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
2154
+ <td class="usx-table__cell">Pacific</td>
2155
+ <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
2156
+ </tr>
2157
+ <tr class="usx-table__group-row">
2158
+ <td colspan="4" class="usx-table__group-cell">
2159
+ <div class="usx-accordion usa-accordion">
2160
+ <h4 class="usa-accordion__heading">
2161
+ <button
2162
+ type="button"
2163
+ class="usa-accordion__button usx-table__group-toggle"
2164
+ aria-expanded="true"
2165
+ >
2166
+ Southwest
2167
+ </button>
2168
+ </h4>
2169
+ </div>
1126
2170
  </td>
1127
- <td>1776</td>
1128
2171
  </tr>
1129
- <tr>
1130
- <th scope="row">Bill of Rights</th>
1131
- <td>
1132
- The first ten amendments of the U.S. Constitution guaranteeing rights
1133
- and freedoms.
2172
+ <tr class="usx-table__row">
2173
+ <th class="usx-table__cell" scope="row">Arizona</th>
2174
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
2175
+ <td class="usx-table__cell">Southwest</td>
2176
+ <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
2177
+ </tr>
2178
+ <tr class="usx-table__row">
2179
+ <th class="usx-table__cell" scope="row">New Mexico</th>
2180
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
2181
+ <td class="usx-table__cell">Southwest</td>
2182
+ <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
2183
+ </tr>
2184
+ <tr class="usx-table__group-row">
2185
+ <td colspan="4" class="usx-table__group-cell">
2186
+ <div class="usx-accordion usa-accordion">
2187
+ <h4 class="usa-accordion__heading">
2188
+ <button
2189
+ type="button"
2190
+ class="usa-accordion__button usx-table__group-toggle"
2191
+ aria-expanded="true"
2192
+ >
2193
+ South
2194
+ </button>
2195
+ </h4>
2196
+ </div>
1134
2197
  </td>
1135
- <td>1791</td>
1136
2198
  </tr>
1137
- <tr>
1138
- <th scope="row">Declaration of Sentiments</th>
1139
- <td>
1140
- A document written during the Seneca Falls Convention outlining the
1141
- rights that American women should be entitled to as citizens.
2199
+ <tr class="usx-table__row">
2200
+ <th class="usx-table__cell" scope="row">Oklahoma</th>
2201
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
2202
+ <td class="usx-table__cell">South</td>
2203
+ <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
2204
+ </tr>
2205
+ <tr class="usx-table__group-row">
2206
+ <td colspan="4" class="usx-table__group-cell">
2207
+ <div class="usx-accordion usa-accordion">
2208
+ <h4 class="usa-accordion__heading">
2209
+ <button
2210
+ type="button"
2211
+ class="usa-accordion__button usx-table__group-toggle"
2212
+ aria-expanded="true"
2213
+ >
2214
+ West
2215
+ </button>
2216
+ </h4>
2217
+ </div>
1142
2218
  </td>
1143
- <td>1848</td>
1144
2219
  </tr>
1145
- <tr>
1146
- <th scope="row">Emancipation Proclamation</th>
2220
+ <tr class="usx-table__row">
2221
+ <th class="usx-table__cell" scope="row">Utah</th>
2222
+ <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
2223
+ <td class="usx-table__cell">West</td>
2224
+ <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
2225
+ </tr>
2226
+ </tbody>
2227
+ </table>
2228
+
2229
+ <h3 class="site-preview-heading">Grouped (collapsed)</h3>
2230
+ <table id="html-table-grouped-collapsed-by-default-grouped-collapsed" class="usa-table usx-table">
2231
+ <caption class="usx-table__caption">
2232
+ Groups collapsed by default
2233
+ </caption>
2234
+ <thead class="usx-table__head">
2235
+ <tr hidden="" aria-hidden="true">
1147
2236
  <td>
1148
- An executive order granting freedom to slaves in designated southern
1149
- states.
2237
+ <span
2238
+ class="usa-sr-only usa-table__announcement-region"
2239
+ aria-live="polite"
2240
+ id="html-table-grouped-collapsed-by-default-grouped-collapsed-sort-announcement"
2241
+ ></span>
1150
2242
  </td>
1151
- <td>1863</td>
1152
2243
  </tr>
1153
- <tr>
1154
- <th scope="row">Declaration of Independence</th>
1155
- <td>
1156
- Statement adopted by the Continental Congress declaring independence
1157
- from the British Empire.
2244
+ <tr class="usx-table__head-row">
2245
+ <th scope="col" class="usx-table__cell" data-sortable="true">
2246
+ <button type="button" class="usx-table__sort-button">
2247
+ State<svg
2248
+ class="usa-icon usa-icon--size-2"
2249
+ aria-hidden="true"
2250
+ aria-label="sort_arrow icon"
2251
+ focusable="false"
2252
+ role="img"
2253
+ >
2254
+ <use href="/img/sprite.svg#sort_arrow"></use>
2255
+ </svg>
2256
+ </button>
2257
+ </th>
2258
+ <th
2259
+ scope="col"
2260
+ class="usx-table__cell usx-table__cell--align-right"
2261
+ data-sortable="true"
2262
+ style="width: 8rem"
2263
+ >
2264
+ <button type="button" class="usx-table__sort-button">
2265
+ Order admitted<svg
2266
+ class="usa-icon usa-icon--size-2"
2267
+ aria-hidden="true"
2268
+ aria-label="sort_arrow icon"
2269
+ focusable="false"
2270
+ role="img"
2271
+ >
2272
+ <use href="/img/sprite.svg#sort_arrow"></use>
2273
+ </svg>
2274
+ </button>
2275
+ </th>
2276
+ <th scope="col" class="usx-table__cell" data-sortable="true">
2277
+ <button type="button" class="usx-table__sort-button">
2278
+ Region<svg
2279
+ class="usa-icon usa-icon--size-2"
2280
+ aria-hidden="true"
2281
+ aria-label="sort_arrow icon"
2282
+ focusable="false"
2283
+ role="img"
2284
+ >
2285
+ <use href="/img/sprite.svg#sort_arrow"></use>
2286
+ </svg>
2287
+ </button>
2288
+ </th>
2289
+ <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
2290
+ <button type="button" class="usx-table__sort-button">
2291
+ Population at admission<svg
2292
+ class="usa-icon usa-icon--size-2"
2293
+ aria-hidden="true"
2294
+ aria-label="sort_arrow icon"
2295
+ focusable="false"
2296
+ role="img"
2297
+ >
2298
+ <use href="/img/sprite.svg#sort_arrow"></use>
2299
+ </svg>
2300
+ </button>
2301
+ </th>
2302
+ </tr>
2303
+ </thead>
2304
+ <tbody class="usx-table__body">
2305
+ <tr class="usx-table__group-row">
2306
+ <td colspan="4" class="usx-table__group-cell">
2307
+ <div class="usx-accordion usa-accordion">
2308
+ <h4 class="usa-accordion__heading">
2309
+ <button
2310
+ type="button"
2311
+ class="usa-accordion__button usx-table__group-toggle"
2312
+ aria-expanded="false"
2313
+ >
2314
+ Pacific
2315
+ </button>
2316
+ </h4>
2317
+ </div>
1158
2318
  </td>
1159
- <td>1776</td>
1160
2319
  </tr>
1161
- <tr>
1162
- <th scope="row">Bill of Rights</th>
1163
- <td>
1164
- The first ten amendments of the U.S. Constitution guaranteeing rights
1165
- and freedoms.
2320
+ <tr class="usx-table__group-row">
2321
+ <td colspan="4" class="usx-table__group-cell">
2322
+ <div class="usx-accordion usa-accordion">
2323
+ <h4 class="usa-accordion__heading">
2324
+ <button
2325
+ type="button"
2326
+ class="usa-accordion__button usx-table__group-toggle"
2327
+ aria-expanded="false"
2328
+ >
2329
+ Southwest
2330
+ </button>
2331
+ </h4>
2332
+ </div>
1166
2333
  </td>
1167
- <td>1791</td>
1168
2334
  </tr>
1169
- <tr>
1170
- <th scope="row">Declaration of Sentiments</th>
1171
- <td>
1172
- A document written during the Seneca Falls Convention outlining the
1173
- rights that American women should be entitled to as citizens.
2335
+ <tr class="usx-table__group-row">
2336
+ <td colspan="4" class="usx-table__group-cell">
2337
+ <div class="usx-accordion usa-accordion">
2338
+ <h4 class="usa-accordion__heading">
2339
+ <button
2340
+ type="button"
2341
+ class="usa-accordion__button usx-table__group-toggle"
2342
+ aria-expanded="false"
2343
+ >
2344
+ South
2345
+ </button>
2346
+ </h4>
2347
+ </div>
1174
2348
  </td>
1175
- <td>1848</td>
1176
2349
  </tr>
1177
- <tr>
1178
- <th scope="row">Emancipation Proclamation</th>
1179
- <td>
1180
- An executive order granting freedom to slaves in designated southern
1181
- states.
2350
+ <tr class="usx-table__group-row">
2351
+ <td colspan="4" class="usx-table__group-cell">
2352
+ <div class="usx-accordion usa-accordion">
2353
+ <h4 class="usa-accordion__heading">
2354
+ <button
2355
+ type="button"
2356
+ class="usa-accordion__button usx-table__group-toggle"
2357
+ aria-expanded="false"
2358
+ >
2359
+ West
2360
+ </button>
2361
+ </h4>
2362
+ </div>
1182
2363
  </td>
1183
- <td>1863</td>
1184
2364
  </tr>
1185
2365
  </tbody>
1186
2366
  </table>