Mobile Control Standards

Mobile Control Standards

Text-Fields

Text fields let users enter and edit text. They typically appear in forms and dialogs. Material Design text fields include several variants with different visual styles and interaction patterns.

Primary Color
#007bff (Primary)
Error Color
#b00020 (Error)

Text Field Types

Filled Text Field

Filled text fields have a solid fill color and are visually prominent.

Property Specification
Container Height 56px
Container Color #f5f5f5 (Light theme)
Active Indicator Height 2px
Corner Radius 4px (top corners only)
Label Font Size 16px (resting), 12px (floating)

Outlined Text Field

Outlined text fields have a stroke around the entire container.

Property Specification
Container Height 56px
Border Width 1px (resting), 2px (focused)
Border Color rgba(0, 0, 0, 0.38) (resting), #6200ee (focused)
Corner Radius 4px (all corners)
Label Font Size 16px (resting), 12px (floating)

Typography Specifications

Element Font Size Font Weight Color
Input Text 16px 400 (Regular) rgba(0, 0, 0, 0.87)
Label (Resting) 16px 400 (Regular) rgba(0, 0, 0, 0.6)
Label (Floating) 12px 400 (Regular) #6200ee
Helper Text 12px 400 (Regular) rgba(0, 0, 0, 0.6)
Error Text 12px 400 (Regular) #b00020

Interactive Examples

Filled Text Field
Helper text
Outlined Text Field
Helper text
Text Field with Icon
search
Error State
error
Outlined Error Field
error
Error message for outlined field
Focused Error Field
error
Error message for focused field