ClerkTextField
A customizable text input field component following Clerk's design system.
This composable provides a styled OutlinedTextField with support for leading/trailing icons, labels, placeholders, supporting text, and error states. The component automatically handles focus states, theming, and accessibility features.
Parameters
The current text value of the input field
Modifier to be applied to the text field
Optional drawable resource ID for an icon displayed at the start of the field
Optional drawable resource ID for an icon displayed at the end of the field. When isError is true, this will be overridden with a warning icon
Optional text label displayed above the input field
Optional placeholder text shown when the field is empty
Optional supporting/helper text displayed below the input field
Whether the field should be displayed in an error state with error styling
Whether the text field is enabled and accepts user input
The maximum number of lines to display
The content type for autofill hints, defaults to ContentType.Username