TailwindLiveComponents.Label (tailwind_live_components v0.2.1) View Source

Link to this section Summary

Functions

Renders the label field

Link to this section Functions

Renders the label field

Options

  • form - The form identifier
  • field - The field name
  • label - The text for the generated <label> element
  • error - Optional error message to display
  • input_id - Optional value to reference the id of the field input
  • label_id - Optional value to use as the DOM id of the label
  • theme - Optional theme to use for Tailwind classes