Interface

PointerIcon

Represents a pointer icon to use in Modifier.pointerHoverIcon or Modifier.stylusHoverIcon.

Source set: Common
public interface PointerIcon

Represents a pointer icon to use in Modifier.pointerHoverIcon or Modifier.stylusHoverIcon.

Members

Companion

Source set: Common
public companion object

A collection of common pointer icons used for the mouse cursor. These icons will be used to assign default pointer icons for various widgets.

Properties

Default

Source set: Common
public val Default: PointerIcon = pointerIconDefault

The default arrow icon that is commonly used for cursor icons.

Crosshair

Source set: Common
public val Crosshair: PointerIcon = pointerIconCrosshair

Commonly used when selecting precise portions of the screen.

Text

Source set: Common
public val Text: PointerIcon = pointerIconText

Also called an I-beam cursor, this is commonly used on selectable or editable text.

Hand

Source set: Common
public val Hand: PointerIcon = pointerIconHand

Commonly used to indicate to a user that an element is clickable.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: