Skip to main content

Input

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
placeholderplaceholder
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