Stacked icon list
A vertical list of text with correlating icons.
Default stacked icon list orc-c-stacked-icon-list
A vertical list of text with correlating icons.
-
<ul class="orc-c-stacked-icon-list"> <li class="orc-c-stacked-icon-list__item"> <svg class="orc-c-icon orc-c-icon-list__icon"> <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../../orchid-icons.svg#search"></use> </svg> <!--end orc-c-icon--> <span class="orc-c-stacked-icon-list__text">Label</span> </li> <!--end orc-c-stacked-icon-list__item--> <li class="orc-c-stacked-icon-list__item"> <svg class="orc-c-icon orc-c-icon-list__icon"> <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../../orchid-icons.svg#gear"></use> </svg> <!--end orc-c-icon--> <span class="orc-c-stacked-icon-list__text">Label</span> </li> <!--end orc-c-stacked-icon-list__item--> </ul> <!--end orc-c-stacked-icon-list-->
Usage
When to use
Use when icons require explanatory or complementary text, such as a phone number next to a phone icon.
When to consider an alternative
An icon list is a perfect alternative if the icons don’t require any text.
Class Name | Description |
---|---|
Required
|
Apply to the stacked icon list’s containing |
Required
|
Add to the |
Required
|
Base style of icons in the design system. |
Required
|
Added to |
Required
|
Actual text that sits to the right of the icon in the stacked icon list. This class should be applied to |