Documentation versions (currently viewingVaadin 14)

You are viewing documentation for an older Vaadin version. View latest documentation

Lumo Cursor

How clickable items are indicated to the users of pointer devices (the mouse) is debatable.

You can either follow the “web” approach and use the pointer (hand) cursor for clickable items, or the “desktop” approach and use the default (arrow) cursor.

Clickable Cursor

Use this property for elements that are clickable, such as buttons. That way, an application can decide which mouse cursor to use for them. Traditional web address links (anchors) should always use the pointer cursor (pointing hand).

By default, Lumo uses the default cursor (arrow) for clickable elements.

--lumo-clickable-cursor: default


<vaadin-button class="pointer">Pointer</vaadin-button>

    .pointer {
      --lumo-clickable-cursor: pointer;
      cursor: var(--lumo-clickable-cursor);