Noora.Label (noora v0.4.0)

Renders a label with an optional sublabel and a required indicator.

Example

<.label label="Email Address" required={true} />

Summary

Functions

label(assigns)

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.