Back to Vuetify

Cursor

packages/docs/src/pages/en/styles/cursor.md

4.0.71.3 KB
Original Source

Cursor

Utilities for controlling the cursor styling when hovering over elements.

<PageFeatures />
ClassProperties
cursor-autocursor: auto;
cursor-defaultcursor: default;
cursor-grabcursor: grab;
cursor-grabbingcursor: grabbing;
cursor-helpcursor: help;
cursor-movecursor: move;
cursor-nonecursor: none;
cursor-not-allowedcursor: not-allowed;
cursor-pointercursor: pointer;
cursor-progresscursor: progress;
cursor-textcursor: text;
cursor-waitcursor: wait; { style="max-height: 420px;" fixed-header }
<PromotedEntry />

Usage

Apply custom cursor styling to a component or element.

<ExamplesExample file="cursor/usage" />

SASS variables

You can also use the following SASS variables to customize the border color and width:

scss
@use 'vuetify/settings' with (
  $utilities: (
    "cursor": (
      property: cursor,
      class: cursor,
      values: auto default pointer wait text move help not-allowed progress grab grabbing none
    )
  )
);

Disable the generation of cursor utility classes by overwriting the utilities value:

scss
@use 'vuetify/settings' with (
  $utilities: (
    "cursor": false,
  ),
);