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
Set by the example
field
Docs
No @doc for this component.
| Attribute | Type | Default | Description |
|---|---|---|---|
| No data found. | |||
| 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 |
|---|---|---|
| No data found. | ||
| inner_block | ||