Static list
Lab componentStatic list
StaticList
manages the layout of non-interactive list items, providing a structured and composable way to display content. It's ideal for use in patterns like file upload or checkout baskets.
Examples
How to use
Accessibility
- To present a set of static list items. It can be used with a
FileDropZone
to show the list of files added. It can also be used to create a shopping cart list.
- If you need to create an interactive list, use the
ListBox
component.
- Always use sentence case for static list item labels.
- Keep static list item labels short and concise.
- Keep static list secondary item labels short and concise.
To import StaticList
and related components from the lab Salt package, use: