Browse documentation

Reference / Interactivity

Cursor

Indicate how the pointer can interact with a control. Mono includes text, copy, drag, resize, zoom, and progress cursors.

Working example

Choose a cursor that matches the working interaction. The disclosure opens natively and its paragraph remains selectable.

HTML
<details class="border p-3">
  <summary class="cursor-pointer font-semibold">Material notes</summary>
  <p class="mt-2 cursor-text">Uncoated stock, 120 gsm.</p>
</details>

Class reference

ClassCSS declarations
cursor-autocursor: auto;
cursor-pointercursor: pointer;
cursor-grabcursor: grab;
cursor-grabbingcursor: grabbing;
cursor-zoom-incursor: zoom-in;
cursor-col-resizecursor: col-resize;
cursor-not-allowedcursor: not-allowed;
View full generated CSS
Compiled CSS
.cursor-auto {
  cursor: auto;
}
.cursor-col-resize {
  cursor: col-resize;
}
.cursor-grab {
  cursor: grab;
}
.cursor-grabbing {
  cursor: grabbing;
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.cursor-pointer {
  cursor: pointer;
}
.cursor-zoom-in {
  cursor: zoom-in;
}