Skip to content

FormLabel

Label describes the field in a short and concise way. Depending on the input type, it appears before or after it.

Props

text
required
Text for Label
type:String
optional
Text defining the field as optional
type:String

Examples

html
<form-label text="Field name" />

WARNING

The component for proper operation requires placing in the component FormField.