Set heights using size
property like size="lg"
and size="sm"
.
Add the disabled
boolean attribute on an input to give it a grayed out appearance and remove pointer events.
Add the readOnly
boolean attribute on an input to prevent modification of the input's value. Read-only inputs appear lighter (just like disabled inputs), but retain the standard cursor.
If you want to have <input readonly>
elements in your form styled as plain text, use the plainText
boolean property to remove the default form field styling and preserve the correct margin and padding.