Label
A label is a primitive component matching Hopper's typography type scale.
Usage
Color
The label component has a default color, but it can be easily overridden.
Required
The label component can be marked as required.
Props
- isRequired?
- necessityIndicator?
- style?
- elementType?
- className?
- id?
Whether the label shows a required state.
Whether the required state should be shown as an asterisk or a label, which would display (Optional) on all non required field labels.