Catalog Forms

<.toggle>

ConnieUI.Forms

HEEx
<ConnieUI.Forms.toggle field={@field}>Connie AI suggestions</ConnieUI.Forms.toggle>

Variant matrix

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

Controls

:string
:string

the id of the `<form>` the inputs belong to, when the toggle sits outside it

Set by the example

field

Docs

No @doc for this component.

Attribute Type Default Description
field * {:struct, Phoenix.HTML.FormField}
size :string "sm"
sm | md
disabled :boolean false
form :string nil
the id of the `<form>` the inputs belong to, when the toggle sits outside it
Slot Slot attributes Description
inner_block