Inputs
Experiments
Pros:
- Streamlines the UI by removing visual clutter
- Overall saves vertical space
- Accessibility is retained (effect is achieved via CSS and JS)
- Will work on any input type (text inputs, textareas, date pickers, comboboxes, select dropdowns)
Cons:
- Inputs will need empty/reserved vertical space for the label's positioning when the input does have a value
- Placeholder attribute can't be used (labels will need to be very clear)
Side by side with a basic label and input:
Other input types:
With Material Design styling:
With secondary action buttons:
Input States
Disabled
Disabled With Values
Readonly With Values
Validation
Text required.
Text required.
Text required.
With Material Design styling: