Catalog Forms

<.text>

ConnieUI.Forms

HEEx
<div class="w-md">
  <ConnieUI.Forms.text placeholder="Director Agreement" field={@field} />
</div>

Variant matrix

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

Controls

:string
:string
:string

leading icon, as in `search/1`

:string

shape the value is held to as it is typed, in the notation `identity_number/1` uses (`#` a digit, `A` a letter, `X` either, anything else a separator). An empty string holds no shape but keeps the input ready for one, for an input whose mask comes and goes as the rest of the form changes.

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
type :string "text"
icon :string nil
leading icon, as in `search/1`
mask :string nil
shape the value is held to as it is typed, in the notation `identity_number/1` uses (`#` a digit, `A` a letter, `X` either, anything else a separator). An empty string holds no shape but keeps the input ready for one, for an input whose mask comes and goes as the rest of the form changes.
rest :global