Button

A 48 dp action button with five kinds: outlined, primary, destructive, text and disabled.

Consumer provides: the label (a verb that says what happens: "Copy pages", "Convert to text"), an optional leading 18 dp icon, the kind, and the click handler.

Kinds

Kind Look Use for
Outlined 1 dp outline, ink text Cancel and every secondary action. Always placed before the primary.
Primary forest fill, on-forest text The one action that completes the dialog: Save, Set, Apply, Create. One per view.
Destructive outlined 1 dp urgent, urgent text A destructive action shown in a list or row (Sign out, Remove).
Destructive filled urgent fill Only the confirm button of a delete/discard confirmation.
Text forest text, no outline Secondary actions that don't close anything: Today, Reset to defaults, Write again.
Disabled sage fill, muted text A primary that can't run yet (Create with an empty name). Keep it visible; don't hide it.

Rules

Compose

OutlinedButton / Button / TextButton with shape = RoundedCornerShape(8.dp), contentPadding = PaddingValues(horizontal = 20.dp), elevation = null, colours from the theme tokens.

In the app

InkActionButton and InkTextButton share pen-aware input.

Preview

Phone · 14 sp Medium

Tablet · 18 sp Medium