List
ID: mantra_starter:list
Content list.
| Name | Label | Type | Description |
|---|---|---|---|
heading
|
Heading | Slot | |
items
|
Items | Slot |
No heading
The heading slot left empty. `list` includes `list_header` unconditionally, so the header element is still in the markup with nothing in it.
- one
- two
- three
Default
- one
- two
- three
Links
What a list usually holds in content -- a heading over a set of links. Items are render arrays, so the markup inside one is the caller's to choose.
Further reading
Text heading
The heading slot as plain text rather than a component. `list` pins `heading_size` to `normal`, so this is the size a list gets in content -- the `list_header` stories show the same heading at `large`.
Opening hours
- Monday to Friday, 9am to 5pm
- Saturday, 10am to 4pm
- Closed Sunday