Skip to content

Cursor

Set cursor style

Syntax

visual="cursor:[value]"

Values

ValueCSS OutputDescription
autocursor: autoAuto cursor
defaultcursor: defaultDefault cursor
pointercursor: pointerPointer cursor
waitcursor: waitWait cursor
textcursor: textText cursor
movecursor: moveMove cursor
not-allowedcursor: not-allowedNot allowed
grabcursor: grabGrab cursor
grabbingcursor: grabbingGrabbing cursor

Examples

html
<button visual="cursor:pointer">Clickable</button>

Preview

Cursor

visual="cursor:pointer" - Change mouse cursor on hover

pointer
wait
not-allowed
View Code
html
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
  <div space="p:small" visual="bg:primary text:white rounded:small cursor:pointer">pointer</div>
  <div space="p:small" visual="bg:primary text:white rounded:small cursor:wait">wait</div>
  <div space="p:small" visual="bg:primary text:white rounded:small cursor:not-allowed">not-allowed</div>
</div>