TextField

A single- or multi-line text input with its label above it.

Consumer provides: the label, the value, an optional leading icon (search), optional helper or error text, an optional character limit (shows a "0/80" counter), and the IME action.

Rules

Compose

OutlinedTextField with the label rendered as a separate Text above (not the floating M3 label), shape = RoundedCornerShape(8.dp), focusedBorderThickness = 2.dp.

In the app

InkTextField.

Preview

Empty, focused

0/80

Filled · with leading icon · error

kubernetes
Search topics
feuerwehr.ch/kal

That link didn’t return a calendar. Check the address.