WideList (design)
WideLists represent a set of WideListItems displayed in a way to organize related information.
Usage
WideLists represent a set of related WideListItems in a list view, which potentially are actionable. The component has a variety of options that can suit your needs.
Options
Default item
The default WideListItem consists out of:
- 1: Item Title
- 2: Item description (optional)
Both the item title and the item description text styles (font-family, font size, font-weight, color) are customizable for specific use cases. Please consult Chameleon's Typographic System for the possibilities and guidelines.
Actions
Each WideListItem has the possibilty to add actions:
Icons & Avatars
An Icon or Avatar can be added to convey more meaning.
The is always designed with a 24px x 24px default size. The color of the Icon can be changed with one of Chameleon's Color Palette.
The can be displayed in a squared or circular appearance.
Clickable
A WideListItem can be clickable if it has an href or button property. Clickable items visually differences by adding a chevron arrow indicating they can be interacted with.
Size
The default behaviour of the WideList is that it takes the 100% available width. On larger screens the item has a larger surrounding padding size than on mobile. This ensures that the items will be displayed in a more compact and dense manner. Please respect this behaviour when designing with the WideList component.
Text wrap
When the length of the content exceeds the availbale horizontal space, the text wraps to multiple lines.
Loading state
The component has a built-in loading state that can be enabled to provide the user with useful feedback when data is being loaded.
Composition of multiple items
Each should be wrapped in a container, where the items are seperated by a . The container can be displayed in a flat or elevated appearance. A WideList with an elevation always has a border-radius of (4px) and a box-shadow of .