@patternfly/patternfly 6.5.0-prerelease.7 → 6.5.0-prerelease.8

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.
@@ -2,9 +2,9 @@
2
2
  id: Data list
3
3
  section: components
4
4
  cssPrefix: pf-v6-c-data-list
5
- ---## Examples
5
+ ---## Basic data list
6
6
 
7
- ### Basic
7
+ ### Basic data list example
8
8
 
9
9
  ```html
10
10
  <ul
@@ -40,7 +40,7 @@ cssPrefix: pf-v6-c-data-list
40
40
 
41
41
  ```
42
42
 
43
- ### Accessibility
43
+ ### Basic data list accessibility
44
44
 
45
45
  | Attribute | Applied to | Outcome |
46
46
  | -- | -- | -- |
@@ -49,7 +49,7 @@ cssPrefix: pf-v6-c-data-list
49
49
  | `aria-labelledby` | `.pf-v6-c-data-list__item` | Provides an accessible description for data list item. **Required** |
50
50
  | `id` | `.pf-v6-c-data-list__cell`, `.pf-v6-c-data-list__cell *` | Provides a reference for data list item description. **Required** |
51
51
 
52
- ### Usage
52
+ ### Basic data list usage
53
53
 
54
54
  | Class | Applied to | Outcome |
55
55
  | -- | -- | -- |
@@ -63,7 +63,9 @@ cssPrefix: pf-v6-c-data-list
63
63
  | `.pf-m-no-fill` | `.pf-v6-c-data-list__cell` | Modifies a data list cell to not fill the available horizontal space. |
64
64
  | `.pf-m-align-right` | `.pf-v6-c-data-list__cell` | Modifies a data list cell to align-right. |
65
65
 
66
- ### With headings
66
+ ## Data list with headings
67
+
68
+ ### Data list with headings example
67
69
 
68
70
  ```html
69
71
  <ul
@@ -101,11 +103,13 @@ cssPrefix: pf-v6-c-data-list
101
103
 
102
104
  ```
103
105
 
104
- ### Usage
106
+ ### Data list with headings usage
105
107
 
106
108
  When a list item includes more than one block of content, it can be difficult for some screen reader users to discern where one list item ends and the next one begins. A simple way to provide better separation of list items is to define the primary content section as a heading. Headings are useful for indicating a new section of contents, but also provide an easy way for screen reader users to navigate to specific sections on the page. The heading level should be based on the context in which the DataList component is being used. For example, if the heading for the section that contains the DataList is a level 3, then `h4` elements should be used in the DataList list items.
107
109
 
108
- ### Checkboxes, actions, and additional cells
110
+ ## Data list with checkboxes, actions, and additional cells
111
+
112
+ ### Data list with checkboxes, actions, and additional cells example
109
113
 
110
114
  ```html
111
115
  <ul
@@ -284,7 +288,7 @@ When a list item includes more than one block of content, it can be difficult fo
284
288
 
285
289
  ```
286
290
 
287
- ### Accessibility
291
+ ### Data list with checkboxes, actions, and additional cells accessibility
288
292
 
289
293
  | Attribute | Applied to | Outcome |
290
294
  | -- | -- | -- |
@@ -293,7 +297,7 @@ When a list item includes more than one block of content, it can be difficult fo
293
297
  | `aria-labelledby="{title_cell_id} {data_list_action_id}"` | `.pf-v6-c-data-list__action` > `.pf-v6-c-button` | Creates an accessible label for the action button using the title cell and button label **Required** |
294
298
  | `id` | `.pf-v6-c-data-list__cell > *`, `.pf-v6-c-data-list__check` > `.pf-v6-c-check__input`, `.pf-v6-c-data-list__action` > `.pf-v6-c-button` | Provides a reference for interactive elements. **Required** |
295
299
 
296
- ### Usage
300
+ ### Data list with checkboxes, actions, and additional cells usage
297
301
 
298
302
  | Class | Applied to | Outcome |
299
303
  | -- | -- | -- |
@@ -304,7 +308,9 @@ When a list item includes more than one block of content, it can be difficult fo
304
308
  | `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Hides an actions container at optional [breakpoint](/tokens/all-patternfly-tokens), or hides it at all breakpoints with `.pf-m-hidden`. |
305
309
  | `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Shows an actions container at optional [breakpoint](/tokens/all-patternfly-tokens). |
306
310
 
307
- ### Expandable
311
+ ## Exandable data list
312
+
313
+ ### Expandable data list example
308
314
 
309
315
  ```html
310
316
  <ul
@@ -498,7 +504,7 @@ When a list item includes more than one block of content, it can be difficult fo
498
504
 
499
505
  ```
500
506
 
501
- ### Expandable compact
507
+ ### Compact expandable data list example
502
508
 
503
509
  ```html
504
510
  <ul
@@ -695,7 +701,7 @@ When a list item includes more than one block of content, it can be difficult fo
695
701
 
696
702
  ```
697
703
 
698
- ### Expandable nested
704
+ ### Nested expandable data list example
699
705
 
700
706
  ```html
701
707
  <ul
@@ -1015,7 +1021,9 @@ When a list item includes more than one block of content, it can be difficult fo
1015
1021
 
1016
1022
  ```
1017
1023
 
1018
- ### Compact
1024
+ ## Compact data list
1025
+
1026
+ ### Compact data list example
1019
1027
 
1020
1028
  ```html
1021
1029
  <ul
@@ -1188,7 +1196,7 @@ When a list item includes more than one block of content, it can be difficult fo
1188
1196
 
1189
1197
  ```
1190
1198
 
1191
- ### Accessibility
1199
+ ### Compact data list accessibility
1192
1200
 
1193
1201
  | Attribute | Applied to | Outcome |
1194
1202
  | -- | -- | -- |
@@ -1199,7 +1207,7 @@ When a list item includes more than one block of content, it can be difficult fo
1199
1207
  | `id="{button_id}"` | `.pf-v6-c-data-list__toggle` > `.pf-v6-c-button` | Provides a reference for toggle button description. **Required** |
1200
1208
  | `aria-controls="[id of element controlled]"` | `.pf-v6-c-data-list__toggle` > `.pf-v6-c-button` | Identifies the section controlled by the toggle button. **Required** |
1201
1209
 
1202
- ### Usage
1210
+ ### Compact data list usage
1203
1211
 
1204
1212
  | Class | Applied to | Outcome |
1205
1213
  | -- | -- | -- |
@@ -1213,7 +1221,9 @@ When a list item includes more than one block of content, it can be difficult fo
1213
1221
  | `.pf-m-no-padding` | `.pf-v6-c-data-list__expandable-content-body` | Removes padding for the expandable content body. |
1214
1222
  | `.pf-m-icon` | `.pf-v6-c-data-list__cell` | Modifies a data list cell to not grow and align-left when its the first data-list\_\_cell element. |
1215
1223
 
1216
- ### Modifiers
1224
+ ## Data list modifiers
1225
+
1226
+ ### Data list flex modifiers example
1217
1227
 
1218
1228
  ```html
1219
1229
  <h2 class="Preview__section-title">Default fitting - example 1</h2>
@@ -1412,19 +1422,103 @@ When a list item includes more than one block of content, it can be difficult fo
1412
1422
 
1413
1423
  ```
1414
1424
 
1415
- ### Accessibility
1425
+ ### Data list text modifiers example
1426
+
1427
+ ```html
1428
+ <ul
1429
+ class="pf-v6-c-data-list"
1430
+ role="list"
1431
+ aria-label="Data list with text modifiers"
1432
+ id="data-list-with-text-modifiers"
1433
+ >
1434
+ <li class="pf-v6-c-data-list__item">
1435
+ <div class="pf-v6-c-data-list__item-row">
1436
+ <div class="pf-v6-c-data-list__item-content">
1437
+ <div class="pf-v6-c-data-list__cell">
1438
+ <span
1439
+ id="data-list-with-text-modifiers-item"
1440
+ >This text will wrap to the next line because it has the default behavior of the data list cell.</span>
1441
+ </div>
1442
+ <div
1443
+ class="pf-v6-c-data-list__cell pf-m-truncate"
1444
+ tabindex="0"
1445
+ >This text will truncate because it is very very long.</div>
1446
+ <div
1447
+ class="pf-v6-c-data-list__cell pf-m-break-word"
1448
+ >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1449
+ <div
1450
+ class="pf-v6-c-data-list__cell pf-m-nowrap"
1451
+ >This text will not break or wrap.</div>
1452
+ </div>
1453
+ </div>
1454
+ <div class="pf-v6-c-data-list__item-row pf-m-truncate">
1455
+ <div class="pf-v6-c-data-list__item-content">
1456
+ <div
1457
+ class="pf-v6-c-data-list__cell"
1458
+ tabindex="0"
1459
+ >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1460
+ <div
1461
+ class="pf-v6-c-data-list__cell"
1462
+ tabindex="0"
1463
+ >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1464
+ <div
1465
+ class="pf-v6-c-data-list__cell"
1466
+ tabindex="0"
1467
+ >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1468
+ <div
1469
+ class="pf-v6-c-data-list__cell"
1470
+ tabindex="0"
1471
+ >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1472
+ </div>
1473
+ </div>
1474
+ <div class="pf-v6-c-data-list__item-row pf-m-break-word">
1475
+ <div class="pf-v6-c-data-list__item-content">
1476
+ <div
1477
+ class="pf-v6-c-data-list__cell"
1478
+ >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1479
+ <div
1480
+ class="pf-v6-c-data-list__cell"
1481
+ >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1482
+ <div
1483
+ class="pf-v6-c-data-list__cell"
1484
+ >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1485
+ <div
1486
+ class="pf-v6-c-data-list__cell"
1487
+ >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1488
+ </div>
1489
+ </div>
1490
+ <div class="pf-v6-c-data-list__item-row pf-m-nowrap">
1491
+ <div class="pf-v6-c-data-list__item-content">
1492
+ <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1493
+ <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1494
+ <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1495
+ <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1496
+ </div>
1497
+ </div>
1498
+ </li>
1499
+ </ul>
1500
+
1501
+ ```
1502
+
1503
+ ### Data list modifiers accessibility
1416
1504
 
1417
1505
  | Attribute | Applied to | Outcome |
1418
1506
  | -- | -- | -- |
1419
1507
  | `aria-controls="[id of element controlled]"` | `.pf-v6-c-data-list__toggle` > `.pf-v6-c-button` | Identifies the section controlled by the toggle button. **Required** |
1420
1508
 
1421
- ### Usage
1509
+ ### Data list modifiers usage
1422
1510
 
1423
1511
  | Class | Applied to | Outcome |
1424
1512
  | -- | -- | -- |
1425
1513
  | `.pf-m-flex-{1, 2, 3, 4, 5}` | `.pf-v6-c-data-list__cell` | Percentage based modifier for `.pf-v6-c-data-list__cell` widths. |
1514
+ | `.pf-v6-c-data-list__text` | `*` | Inserts the data list text element. Use this class to modify specific text directly. |
1515
+ | `.pf-m-truncate` | `.pf-v6-c-data-list`, `.pf-v6-c-data-list__item-row`, `.pf-v6-c-data-list__cell`, `.pf-v6-c-data-list__text` | Modifies the data list element so that text is truncated. |
1516
+ | `.pf-m-break-word` | `.pf-v6-c-data-list`, `.pf-v6-c-data-list__item-row`, `.pf-v6-c-data-list__cell`, `.pf-v6-c-data-list__text` | Modifies the data list element so that text breaks to the next line. |
1517
+ | `.pf-m-nowrap` | `.pf-v6-c-data-list`, `.pf-v6-c-data-list__item-row`, `.pf-v6-c-data-list__cell`, `.pf-v6-c-data-list__text` | Modifies the data list element so that text does not wrap to the next line. |
1518
+
1519
+ ## Data list with clickable rows
1426
1520
 
1427
- ### Clickable rows
1521
+ ### Data list with clickable rows example
1428
1522
 
1429
1523
  ```html
1430
1524
  <ul
@@ -1466,20 +1560,7 @@ When a list item includes more than one block of content, it can be difficult fo
1466
1560
 
1467
1561
  ```
1468
1562
 
1469
- ### Accessibility
1470
-
1471
- | Attribute | Applied to | Outcome |
1472
- | -- | -- | -- |
1473
- | `tabindex="0"` | `.pf-v6-c-data-list__item.pf-m-clickable` | Inserts the clickable row into the tab order of the page so that it is focusable. **Required** |
1474
-
1475
- ### Usage
1476
-
1477
- | Class | Applied to | Outcome |
1478
- | -- | -- | -- |
1479
- | `.pf-m-clickable` | `.pf-v6-c-data-list__item` | Modifies a data list item so that it is clickable. |
1480
- | `.pf-m-selected` | `.pf-v6-c-data-list__item` | Modifies a data list item for the selected state. |
1481
-
1482
- ### Clickable expandable rows
1563
+ ### Data list with clickable expandable rows example
1483
1564
 
1484
1565
  ```html
1485
1566
  <ul
@@ -1656,7 +1737,22 @@ When a list item includes more than one block of content, it can be difficult fo
1656
1737
 
1657
1738
  ```
1658
1739
 
1659
- ### Draggable
1740
+ ### Data list with clickable rows accessibility
1741
+
1742
+ | Attribute | Applied to | Outcome |
1743
+ | -- | -- | -- |
1744
+ | `tabindex="0"` | `.pf-v6-c-data-list__item.pf-m-clickable` | Inserts the clickable row into the tab order of the page so that it is focusable. **Required** |
1745
+
1746
+ ### Data list with clickable rows usage
1747
+
1748
+ | Class | Applied to | Outcome |
1749
+ | -- | -- | -- |
1750
+ | `.pf-m-clickable` | `.pf-v6-c-data-list__item` | Modifies a data list item so that it is clickable. |
1751
+ | `.pf-m-selected` | `.pf-v6-c-data-list__item` | Modifies a data list item for the selected state. |
1752
+
1753
+ ## Draggable data list
1754
+
1755
+ ### Draggable data list example
1660
1756
 
1661
1757
  ```html
1662
1758
  <div
@@ -1845,7 +1941,7 @@ When a list item includes more than one block of content, it can be difficult fo
1845
1941
 
1846
1942
  ```
1847
1943
 
1848
- ### Accessibility
1944
+ ### Draggable data list accessibility
1849
1945
 
1850
1946
  | Attribute | Applied to | Outcome |
1851
1947
  | -- | -- | -- |
@@ -1855,7 +1951,7 @@ When a list item includes more than one block of content, it can be difficult fo
1855
1951
  | `aria-labelledby="[id value of .pf-v6-c-data-list__item-draggable-button] [id value of .pf-v6-c-data-list__cell-text]"` | `.pf-v6-c-data-list__item-draggable-button` | Provides an accessible name for the draggable button. |
1856
1952
  | `id="[]"` | `.pf-v6-c-data-list__item-draggable-button`, `.pf-v6-c-data-list__cell-text` | Gives the button and the text element accessible IDs |
1857
1953
 
1858
- ### Usage
1954
+ ### Draggable data list usage
1859
1955
 
1860
1956
  | Class | Applied to | Outcome |
1861
1957
  | -- | -- | -- |
@@ -1866,117 +1962,37 @@ When a list item includes more than one block of content, it can be difficult fo
1866
1962
  | `.pf-m-disabled` | `.pf-v6-c-data-list__item.pf-m-draggable` | Modifies a data list draggable item for the disabled state. |
1867
1963
  | `.pf-m-drag-over` | `.pf-v6-c-data-list` | Modifies the data list to indicate that a draggable item is being dragged over the data list. |
1868
1964
 
1869
- ### Text modifiers
1965
+ ## Plain data list
1870
1966
 
1871
- ```html
1967
+ ### Plain data list example
1968
+
1969
+ ```html isBeta
1872
1970
  <ul
1873
- class="pf-v6-c-data-list"
1971
+ class="pf-v6-c-data-list pf-m-plain"
1874
1972
  role="list"
1875
- aria-label="Data list with text modifiers"
1876
- id="data-list-with-text-modifiers"
1973
+ aria-label="Basic data list example"
1974
+ id="data-list-basic"
1877
1975
  >
1878
1976
  <li class="pf-v6-c-data-list__item">
1879
1977
  <div class="pf-v6-c-data-list__item-row">
1880
1978
  <div class="pf-v6-c-data-list__item-content">
1881
1979
  <div class="pf-v6-c-data-list__cell">
1882
- <span
1883
- id="data-list-with-text-modifiers-item"
1884
- >This text will wrap to the next line because it has the default behavior of the data list cell.</span>
1980
+ <span id="data-list-basic-item-1">Primary content</span>
1885
1981
  </div>
1886
- <div
1887
- class="pf-v6-c-data-list__cell pf-m-truncate"
1888
- tabindex="0"
1889
- >This text will truncate because it is very very long.</div>
1890
- <div
1891
- class="pf-v6-c-data-list__cell pf-m-break-word"
1892
- >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1893
- <div
1894
- class="pf-v6-c-data-list__cell pf-m-nowrap"
1895
- >This text will not break or wrap.</div>
1896
- </div>
1897
- </div>
1898
- <div class="pf-v6-c-data-list__item-row pf-m-truncate">
1899
- <div class="pf-v6-c-data-list__item-content">
1900
- <div
1901
- class="pf-v6-c-data-list__cell"
1902
- tabindex="0"
1903
- >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1904
- <div
1905
- class="pf-v6-c-data-list__cell"
1906
- tabindex="0"
1907
- >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1908
- <div
1909
- class="pf-v6-c-data-list__cell"
1910
- tabindex="0"
1911
- >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1912
- <div
1913
- class="pf-v6-c-data-list__cell"
1914
- tabindex="0"
1915
- >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1916
- </div>
1917
- </div>
1918
- <div class="pf-v6-c-data-list__item-row pf-m-break-word">
1919
- <div class="pf-v6-c-data-list__item-content">
1920
- <div
1921
- class="pf-v6-c-data-list__cell"
1922
- >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1923
- <div
1924
- class="pf-v6-c-data-list__cell"
1925
- >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1926
- <div
1927
- class="pf-v6-c-data-list__cell"
1928
- >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1929
- <div
1930
- class="pf-v6-c-data-list__cell"
1931
- >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1932
- </div>
1933
- </div>
1934
- <div class="pf-v6-c-data-list__item-row pf-m-nowrap">
1935
- <div class="pf-v6-c-data-list__item-content">
1936
- <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1937
- <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1938
- <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1939
- <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1982
+ <div class="pf-v6-c-data-list__cell">Secondary content</div>
1940
1983
  </div>
1941
1984
  </div>
1942
1985
  </li>
1943
- </ul>
1944
1986
 
1945
- ```
1946
-
1947
- ### Text-modifiers-data-list-text
1948
-
1949
- ```html
1950
- <ul
1951
- class="pf-v6-c-data-list"
1952
- role="list"
1953
- aria-label="Data list with modifiers and text"
1954
- id="data-list-with-text-modifiers-and-text"
1955
- >
1956
1987
  <li class="pf-v6-c-data-list__item">
1957
1988
  <div class="pf-v6-c-data-list__item-row">
1958
1989
  <div class="pf-v6-c-data-list__item-content">
1959
- <div class="pf-v6-c-data-list__cell">
1960
- <span
1961
- id="data-list-with-text-modifiers-and-text-item-1"
1962
- >This text will wrap to the next line because it has the default behavior of the data list cell.</span>
1963
- <span
1964
- class="pf-v6-c-data-list__text pf-m-truncate"
1965
- tabindex="0"
1966
- >This is data list text, you can apply `pf-m-truncate` directly to the text. This is data list text, you can apply `pf-m-truncate` directly to the text.</span>
1967
- </div>
1968
- <div class="pf-v6-c-data-list__cell">
1969
- This text will wrap to the next line because it has the default behavior of the data list cell.
1970
- <span
1971
- class="pf-v6-c-data-list__text pf-m-break-word"
1972
- >http://thisisaverylongdatalisttextthatneedstobreakusethebreakwordmodifier.org</span>
1973
- </div>
1974
- <div class="pf-v6-c-data-list__cell">
1975
- This text will wrap to the next line because it has the default behavior of the data list cell.
1976
- <span
1977
- class="pf-v6-c-data-list__text pf-m-nowrap"
1978
- >This is data list text, you can apply `pf-m-nowrap` directly to the text.</span>
1990
+ <div class="pf-v6-c-data-list__cell pf-m-no-fill">
1991
+ <span id="data-list-basic-item-2">Secondary content (pf-m-no-fill)</span>
1979
1992
  </div>
1993
+ <div
1994
+ class="pf-v6-c-data-list__cell pf-m-no-fill pf-m-align-right"
1995
+ >Secondary content (pf-m-align-right pf-m-no-fill)</div>
1980
1996
  </div>
1981
1997
  </div>
1982
1998
  </li>
@@ -1984,22 +2000,15 @@ When a list item includes more than one block of content, it can be difficult fo
1984
2000
 
1985
2001
  ```
1986
2002
 
1987
- ### Usage
2003
+ ### Plain data list usage
1988
2004
 
1989
2005
  | Class | Applied to | Outcome |
1990
2006
  | -- | -- | -- |
1991
- | `.pf-v6-c-data-list__text` | `*` | Inserts the data list text element. Use this class to modify specific text directly. |
1992
- | `.pf-m-truncate` | `.pf-v6-c-data-list`, `.pf-v6-c-data-list__item-row`, `.pf-v6-c-data-list__cell`, `.pf-v6-c-data-list__text` | Modifies the data list element so that text is truncated. |
1993
- | `.pf-m-break-word` | `.pf-v6-c-data-list`, `.pf-v6-c-data-list__item-row`, `.pf-v6-c-data-list__cell`, `.pf-v6-c-data-list__text` | Modifies the data list element so that text breaks to the next line. |
1994
- | `.pf-m-nowrap` | `.pf-v6-c-data-list`, `.pf-v6-c-data-list__item-row`, `.pf-v6-c-data-list__cell`, `.pf-v6-c-data-list__text` | Modifies the data list element so that text does not wrap to the next line. |
2007
+ | `.pf-m-plain` | `.pf-v6-c-data-list` | Modifies a data list to have a transparent background. |
1995
2008
 
1996
- ## Documentation
1997
-
1998
- ### Overview
2009
+ ## Data list as grid
1999
2010
 
2000
- The DataList component provides a flexible alternative to the Table component, wherein individual data points may or may not exist within each row. DataList relies upon PatternFly layouts to achieve desired presentation within `pf-v6-c-data-list__cell`s. DataLists do not have headers. If headers are required, use the [table component](/components/table).
2001
-
2002
- ### Grid
2011
+ ### Data list as grid example
2003
2012
 
2004
2013
  ```html
2005
2014
  <ul
@@ -2040,7 +2049,7 @@ The DataList component provides a flexible alternative to the Table component, w
2040
2049
 
2041
2050
  ```
2042
2051
 
2043
- ### Grid (small breakpoint)
2052
+ ### Data list as grid on small breakpoint example
2044
2053
 
2045
2054
  ```html
2046
2055
  <ul
@@ -2081,7 +2090,7 @@ The DataList component provides a flexible alternative to the Table component, w
2081
2090
 
2082
2091
  ```
2083
2092
 
2084
- ### Grid none
2093
+ ### Data list with no grid
2085
2094
 
2086
2095
  ```html
2087
2096
  <ul
@@ -2122,8 +2131,14 @@ The DataList component provides a flexible alternative to the Table component, w
2122
2131
 
2123
2132
  ```
2124
2133
 
2125
- ### Usage
2134
+ ### Data list as grid usage
2126
2135
 
2127
2136
  | Class | Applied to | Outcome |
2128
2137
  | -- | -- | -- |
2129
2138
  | `.pf-m-grid{-[none, sm, md, lg, xl, 2xl]}` | `.pf-v6-c-data-list` | Modifies the data list to switch to a grid layout at a specified [breakpoint](/tokens/all-patternfly-tokens). `.pf-m-grid` will display the grid layout at all breakpoints. `.pf-m-grid-none` will display the desktop layout at all breakpoints. **Note:** Without a grid modifier, the data list will display the grid layout by default and switch to the desktop layout at a medium breakpoint. |
2139
+
2140
+ ## Documentation
2141
+
2142
+ ### Overview
2143
+
2144
+ The DataList component provides a flexible alternative to the Table component, wherein individual data points may or may not exist within each row. DataList relies upon PatternFly layouts to achieve desired presentation within `pf-v6-c-data-list__cell` elements. DataLists do not have headers. If headers are required, use the [table component](/components/table).