GC Design System CSS Shortcuts
Home Start to use Page templates overview Basic page Components overview Breadcrumbs Button Card Checkboxes Container Date input Date modified Details Error message Error summary Fieldset File uploader Footer Grid Header Heading Icon Input Language toggle Link Notice Pagination Radios Screenreader-only Search Select Side navigation Signature Stepper Text Textarea Theme and topic menu Top navigation CSS shortcuts overview Reset styles Responsive layout State Box sizing Container sizing Display Overflow Position Visibility Font Font family Font size Font style Font weight Line height Link colour Link size Link text decoration List style Text align Text colour Text overflow Text transform Word break Margin Padding Align content Align items Align self Flex Flex direction Flex grow Flex shrink Flex wrap Gap Grid columns Grid rows Justify content Justify items Justify self Order Place content Place items Place self Background colour Border colour Border radius Border style Border width Icon names Icon size Image Cursor Pointer events Transition Styles overview Design tokens Colour tokens Spacing tokens Typography tokens Contact us Get involved Find a demo

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 gcds-icon to display.

Overview

CSS Shortcut class Applied style
gcds-icon-info-circle
content: "\e90a";
gcds-icon-warning-triangle
content: "\e90d";
gcds-icon-exclamation-circle
content: "\e909";
gcds-icon-checkmark-circle
content: "\e908";
gcds-icon-chevron-left
content: "\e901";
gcds-icon-chevron-right
content: "\e902";
gcds-icon-chevron-up
content: "\e903";
gcds-icon-chevron-down
content: "\e900";
gcds-icon-close
content: "\e90b";
gcds-icon-download
content: "\e906";
gcds-icon-email
content: "\e905";
gcds-icon-external
content: "\e904";
gcds-icon-phone
content: "\e90c";
gcds-icon-search
content: "\e907";

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>

Conditional styling Apply this style to specific screen sizes Use a responsive layout prefix to apply this class only to a specified screen size. The available breakpoints are:

  • xs: > 480px
  • sm: > 640px
  • md: > 768px
  • lg: > 1024px
  • xl: > 1280px
  
<div class="xs:icon-close ...">
  ...
</div>
  

Learn more about the responsive layout prefix.

Apply this style to specific states Use a state prefix to apply this class only to a specified interaction state. The available states are:

  • hover
  • focus
  
<div class="hover:icon-close ...">
  ...
</div>
  

Learn more about the state prefix.

2025-10-01