Utilities for controlling the cursor style on hover.

In this article

These utilities can be useful when creating layouts that include functionality but lack an appropriate on-hover cursor. For example, adding .cursor-pointer to an element that is interactive but uses the default cursor by default will ensure that visitors know they can click on it.

Class Properties
.cursor-pointer cursor: pointer;


Use .cursor-pointer to change the mouse cursor to indicate an interactive element.


By default, no responsive or hover-state variants are generated for outline utilities.


To include responsive variants like .md:cursor-pointer, add "cursor" to the $responsive-variants variable in your theme’s _variables.scss file when recompiling your CSS:

$responsive-variants: (
  // ...


To include hover-state variants like .hover:cursor-default, add "cursor" to the $hover-variants variable:

$hover-variants: (
  // ...

Questions or feedback about this article? Let us know