GC Design System CSS Shortcuts
GC Design System 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

Cursor

The cursor class sets the cursor property. It controls what cursor style is displayed when hovering over an element.

Overview

CSS Shortcut class Applied style
cursor-default
cursor: default;
cursor-copy
cursor: copy;
cursor-grab
cursor: grab;
cursor-help
cursor: help;
cursor-move
cursor: move;
cursor-not-allowed
cursor: not-allowed;
cursor-pointer
cursor: pointer;
cursor-text
cursor: text;
cursor-zoom-in
cursor: zoom-in;
cursor-zoom-out
cursor: zoom-out;

Examples

Default
cursor-default

<a href="#" class="cursor-default">
  When hovered over, this element displays the default cursor.
</a>

Copy
cursor-copy

<a href="#" class="cursor-copy">
  When hovered over, this element displays the copy cursor. It indicates that the content can be copied.
</a>

Grab
cursor-grab

<a href="#" class="cursor-grab">
  When hovered over, this element displays the grab cursor. It indicates that the content can be grabbed.
</a>

Help
cursor-help

<a href="#" class="cursor-help">
  When hovered over, this element displays the help cursor. It indicates that more information is available.
</a>

Move
cursor-move

<a href="#" class="cursor-move">
  When hovered over, this element displays the move cursor. It indicates that the content can be dragged.
</a>

Not allowed
cursor-not-allowed

<a href="#" class="cursor-not-allowed">
  When hovered over, this element displays the not allowed cursor. It indicates that the action is not allowed.
</a>

Pointer
cursor-pointer

<a href="#" class="cursor-pointer">
  When hovered over, this element displays the pointer cursor. It indicates that the element is clickable.
</a>

Text
cursor-text

<a href="#" class="cursor-text">
  When hovered over, this element displays the text cursor. It indicates that text can be selected.
</a>

Zoom in
cursor-zoom-in

<a href="#" class="cursor-zoom-in">
  When hovered over, this element displays the zoom in cursor. It indicates the possibility to increase magnification.
</a>

Zoom out
cursor-zoom-out

<a href="#" class="cursor-zoom-out">
  When hovered over, this element displays the zoom out cursor. It indicates the possibility to decrease magnification.
</a>

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:cursor-pointer ...">
  ...
</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:cursor-pointer ...">
  ...
</div>
  

Learn more about the state prefix.

2025-10-01