You are currently viewing outdated (<=3.x) Chameleon documentation on our old website. For version >=4.x, check out our new website.

Current release: 3.5.0 | hub

components

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 Icon 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 Avatar 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 WideListItem should be wrapped in a WideList container, where the items are seperated by a Divider. The container can be displayed in a flat or elevated appearance. A WideList with an elevation always has a border-radius of space-2 (4px) and a box-shadow of shadow-2.

  • When you're looking to create a list of tabular data, use the Table component.
  • When you're looking to create a ordered/un ordered list to make content more readable, use the List component.

© Copyright 2020 Mediahuis NV. All rights Reserved