Design
Component checklist
Overview
A List Item is one row of a list. It carries a title, and can add a leading icon, a subtitle, and a trailing control such as a right icon, a toggle, a button or a link. Lists are built by stacking List Items, with an optional divider between them.
Usage
Basic Usage
A simple list item displaying text is perfect for straightforward lists where each item only needs to show a single line of text.
Clickable List Items
Each list item can be made clickable, which is ideal for scenarios where the items lead to different pages or trigger specific actions.
Custom Content
The component allows for the inclusion of various types of content, such as combinations of text, icons, buttons, and toggles.
Design
Appearance
|
Item |
Usage |
|---|---|
|
1 |
Light Mode |
|
2 |
Dark Mode |
Anatomy
|
Item |
Usage |
|---|---|
|
1 |
Left Icon Small & Large (Optional) |
|
2 |
Title |
|
3 |
Subtitle Icon (Optional) |
|
4 |
Subtitle Text (Optional) |
|
5 |
Right Icon (Optional) |
|
6 |
Divider (Optional) |
Variants
|
Item |
Variant |
|---|---|
|
1 |
Left Icon (Small), Title, Subtitle, Right Icon |
|
2 |
Left Icon (Large), Title, Subtitle, Right Icon |
|
3 |
Left Icon, Title, Right Icon |
|
4 |
Title, Subtitle |
|
5 |
Title, Subtitle, Right Icon |
|
6 |
Title |
|
7 |
Title, Right Icon |
|
8 |
Left Icon, Title, Subtitle, Toggle |
|
9 |
Title, Subtitle, Toggle |
|
10 |
Title, Toggle |
|
11 |
Left Icon, Title, Button |
|
12 |
Title, Button |
|
13 |
Title, Number, Right Icon |
|
14 |
Left Icon, Title, Number, Right Icon |
|
15 |
Left Icon, Title, Right Link |