Docs

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

Interaction

Use these CSS Custom Properties to apply consistent interaction styles for components.

Note
Only available in Lumo
This documentation applies only to the Lumo theme.
Open in a
new tab
// Import all Lumo CSS custom properties into the global style scope
import '@vaadin/vaadin-lumo-styles/color';
import '@vaadin/vaadin-lumo-styles/typography';
import '@vaadin/vaadin-lumo-styles/sizing';
import '@vaadin/vaadin-lumo-styles/spacing';
import '@vaadin/vaadin-lumo-styles/style';
// prettier-ignore

Clickable Cursor

How clickable items are indicated to the users of pointer devices (the mouse) can be configured to suit your application’s target audience.

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.

Description CSS Custom Property

Cursor

--lumo-clickable-cursor:

31882558-8FBE-4D61-93D9-C98F689CF190