Shadix.Components.Label (shadix v0.0.1)

Copy Markdown View Source

Label component translated from the shadcn/ui label component.

Renders a <label> element with data-slot="label". Presentational only.

Summary

Functions

label(assigns)

Attributes

  • for (:string) - Defaults to nil.
  • class (:string) - Defaults to nil.
  • Global attributes are accepted. Supports all globals plus: ["form"].

Slots

  • inner_block (required)