List
Lists are a visual representation of a dataset, based on groups of related content, that is organized vertically.
install | yarn add @clayui/list |
---|---|
version | 3.120.0 |
Stable3.120.0View in LexiconCHANGELOG
A list can composable by a Header, an Item and Quick Actions.
Copied!
Code Sample (expand to see it)
QuickActionMenu
Use QuickActionMenu
composition inside Item
for defining a QuickActionMenu.
Wrap QuickActionMenu.Item
inside QuickActionMenu
for defining an Item
of QuickActionMenu. See the following example:
Copied!
Code Sample (expand to see it)
ClayList children
To ensure your html structure is accessible, make sure any children passed to ClayList
are li
elements. Both ClayList.Item
and ClayListHeader
are li
elements.