Noora.Label
(noora v0.2.0)
Renders a label with an optional sublabel and a required indicator.
Example
<.label label="Email Address" required={true} />
Functions
Attributes
label
(:string
) (required) - The label.sublabel
(:string
) - A sublabel. Defaults to nil
.required
(:boolean
) - Whether the field is required. Defaults to false
.- Global attributes are accepted. Additional HTML attributes.