2 Lists present multiple line items vertically as a single continuous element. Refer the [Material Design
3 Spec](https://www.google.com/design/spec/components/lists.html) to know more about the content options.
5 ### To include the MDL **list** component:
7 ## Create a List with basic items.
9 1. Code a `<ul>` element with the class `mdl-list`; this is the "outer" container, intended to hold all of the list's content.
14 2. Code as many `<li>` elements as required with the class `mdl-list__item`; this is intended to hold all of the **item's** content.
17 <li class="mdl-list__item"></li>
18 <li class="mdl-list__item"></li>
19 <li class="mdl-list__item"></li>
23 3. Add your content as the children of the `<li>`, with the appropriate content type modification class for example .
26 <li class="mdl-list__item">
27 <span class="mdl-list__item-primary-content"></span>
29 <li class="mdl-list__item">
30 <span class="mdl-list__item-primary-content"></span>
32 <li class="mdl-list__item">
33 <span class="mdl-list__item-primary-content"></span>
38 ## Configuration options
40 The MDL CSS classes apply various predefined visual enhancements to the list. The table below lists the available classes and their effects.
42 | MDL Class | Effect | Remark |
43 | ------------- |:-------------:| -----:|
44 | .mdl-list | Defines list as an MDL component| - |
45 | .mdl-list__item | Defines the List's Items | required |
46 | .mdl-list__item--two-line | Defines the List's Items as Two Line | Optional Two Line List Variant |
47 | .mdl-list__item--three-line | Defines the List's Items as a Three Line | Optional Three Line List Variant |
48 | .mdl-list__item-primary-content | Defines the primary content sub-division |-|
49 | .mdl-list__item-avatar | Defines the avatar sub-division |-|
50 | .mdl-list__item-icon | Defines the icon sub-division |-|
51 | .mdl-list__item-secondary-content | Defines the secondary content sub-division | requires `.mdl-list__item--two-line` or `.mdl-list__item--three-line` |
52 | .mdl-list__item-secondary-info | Defines the information sub-division |requires `.mdl-list__item--two-line` or `.mdl-list__item--three-line` |
53 | .mdl-list__item-secondary-action | Defines the Action sub-division | requires `.mdl-list__item--two-line` or `.mdl-list__item--three-line` |
54 | .mdl-list__item-text-body | Defines the Text Body sub-division | requires `.mdl-list__item--three-line` |