Skip to main content

InputLabel

Component representing a caption for an item in a user interface — e.g., an input field. Uses the <Text> component for typography styling.

Examples

Input Label


Code
<UnknownElementType>
Lorem ipsum
</UnknownElementType>

Custom XS Size Input Label


Code
<UnknownElementType size="xs">
Lorem ipsum
</UnknownElementType>

Mandatory Input Label


Code
<UnknownElementType requiredIndicator>
Lorem ipsum
</UnknownElementType>

Props

size

TextSize

Default: "md"

requiredIndicator

boolean

Default: false