Ω FieldShape
Last updated
Last updated
Base: A collection for the styling (shape) of the Field Background Surface is set here. This base level feeds into the Field element where it is combined with the other field containers to form the Field element.
Parent: Field
Line - A single under line.
Rounded - Rounded corner box
Square - Squared of box
Pill - Pill shaped background surface
Base (default) - The primary (normal) appearance of the field surface.
Inverted - Used when the field is used on a component with a dark background (ex. Gridview Photo - search)
Enabled
Disabled
Hover
Pressed
Focus
Error - When the field has invalid data in the field we visually display this using the Error state of the field background.
Warning - When the field has data that is possibly invalid, or isn't valid yet (typing in a password at 2 characters where 9 are required)
Success - To give positive feedback to the user upon fulfilling the requirement (typing in correct 9 characters of the password)