Icon names
The icon class sets the content
property and other icon base styles like the icon font family, style and weight. It controls what
CSS Shortcut class | Applied style |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples
Info circle
gcds-icon-info-circle
This element has an info circle icon.
<p>
<span class="gcds-icon-info-circle"></span> This element has an info circle icon.
</p>
Warning triangle
gcds-icon-warning-triangle
This element has a warning triangle icon.
<p>
<span class="gcds-icon-warning-triangle"></span> This element has a warning triangle icon.
</p>
Exclamation circle
gcds-icon-exclamation-circle
This element has an exclamation circle icon.
<p>
<span class="gcds-icon-exclamation-circle"></span> This element has an exclamation circle icon.
</p>
Checkmark circle
gcds-icon-checkmark-circle
This element has an checkmark circle icon.
<p>
<span class="gcds-icon-checkmark-circle"></span> This element has an checkmark circle icon.
</p>
Chevron left
gcds-icon-chevron-left
This element has a chevron icon pointing left.
<p>
<span class="gcds-icon-chevron-left"></span> This element has a chevron icon pointing left.
</p>
Chevron right
gcds-icon-chevron-right
This element has a chevron icon pointing right.
<p>
<span class="gcds-icon-chevron-right"></span> This element has a chevron icon pointing right.
</p>
Chevron up
gcds-icon-chevron-up
This element has a chevron icon pointing up.
<p>
<span class="gcds-icon-chevron-up"></span> This element has a chevron icon pointing up.
</p>
Chevron down
gcds-icon-chevron-down
This element has a chevron icon pointing down.
<p>
<span class="gcds-icon-chevron-down"></span> This element has a chevron icon pointing down.
</p>
Close
gcds-icon-close
This element has a close icon.
<p>
<span class="gcds-icon-close"></span> This element has a close icon.
</p>
Download
gcds-icon-download
This element has a download icon.
<p>
<span class="gcds-icon-download"></span> This element has a download icon.
</p>
Email
gcds-icon-email
This element has an email icon.
<p>
<span class="gcds-icon-email"></span> This element has an email icon.
</p>
External
gcds-icon-external
This element has an external icon.
<p>
<span class="gcds-icon-external"></span> This element has an external icon.
</p>
Phone
gcds-icon-phone
This element has a phone icon.
<p>
<span class="gcds-icon-phone"></span> This element has a phone icon.
</p>
Search
gcds-icon-search
This element has a search icon.
<p>
<span class="gcds-icon-search"></span> This element has a search icon.
</p>
xs
:> 480px
sm
:> 640px
md
:> 768px
lg
:> 1024px
xl
:> 1280px
<div class="xs:icon-close ...">
...
</div>
hover
focus
<div class="hover:icon-close ...">
...
</div>