View Source Moon.Design.Form.Group (Moon v2.89.1)

Component for visual groupping Form.Input & Form.Select

Properties

  • id :string - Id attribute for DOM element
  • testid :string - Data-testid attribute for DOM element
  • class :css_class - Additional Tailwind classes
  • field_class :css_class, from_context: :field_class - Additional Tailwind classes
  • orientation :string, values!: ~w(horizontal vertical), default: "vertical" - Group orientation

Slots

  • default, required: true - Inner content of the component

Summary

Functions

Callback implementation for Surface.Component.render/1.