Catalog Forms

<.checkbox>

ConnieUI.Forms

HEEx
<ConnieUI.Forms.checkbox field={@field}>
  I have read the agreement
</ConnieUI.Forms.checkbox>

Variant matrix

Every combination of one or two attributes, side by side.

Controls

:string

Set by the example

field option

Docs

No @doc for this component.

Attribute Type Default Description
field * {:struct, Phoenix.HTML.FormField}
size :string "sm"
sm | md
option :any
prechecked :boolean
rest :global
Slot Slot attributes Description
inner_block *