Skip to main content


The Input Primitive on Page

The Input primitive is a single or multi-line text input field. It's used for transferring text information to the form.

In the properties, you can select the Input type, enter the placeholder, specify the default value, set the flags of mandatory or disabled state.

Available props#

Prop nameDescription
nameUnique field name for the form
typeForm element type: text, email, tel, date, number, file, search
placeholderThe placeholder attribute specifies a short hint that describes the expected value of an input field
defaultValueDefault field value
requiredFlag indicating a required field
disabledFlag indicating the field is disabled by default
asHTML element that will be used in the document: input or textarea