v14.2.0

Playroom

Github

Input.InputLabel

View Source

Provides accessibility as well as usability improvements for mouse users by allowing the user to click the component to focus the respective control. This mimics the browsers native label tag, but allows use with custom components like .

Copy
Edit

Props

controlsstring

The id of the input to control. Compatible with all UI kit form components.

state'warning' | 'error' | 'success'

The current state of the label. Should match corresponding Input’s state prop.

  • Props
PreviousInput.InputFieldNextNumberField