Skip to content

Built-in field types ​

Every built-in field type. Every field also takes name, label, description, placeholder, default, required, rules and ui. A type of kind none takes no default, required or rules, and a group takes no required or default. The field types guide explains each one.

TypeKindPropsDefault rulesDescription
textstringOne line of text
textareastringSeveral lines of text
emailstringemailAn email address, checked by the email rule
passwordstringText hidden while typing
urlstringurlA web address, checked by the url rule
telstringA phone number. Add a regex rule for its format
numbernumber
checkboxbooleanYes or no. Required means it must be ticked
datedateoutput?: "string" | "date"An ISO date, such as 2026-10-28
timedateAn ISO time, such as 14:30
datetimedateoutput?: "string" | "date"A local ISO date and time, such as 2026-10-28T14:30
selectfrom the propsoptions?: object[], at least 1; valueType?: "string" | "number"One of the options, or any value while they load
radiofrom the propsoptions: object[], at least 1One of the options
multiselectarray, items from the propsoptions: object[], at least 1Any number of the options
filefrom the propsmultiple?: boolean; accept?: stringA file, or a list of files with multiple
headingnonetext: string; level?: integer, 1 to 6A title between fields. It has no value
paragraphnonetext: stringPlain text between fields. It has no value
dividernoneA line between fields. It has no value
groupobjectfields: field[]An object with a key for each of its fields
arrayarrayof?: field; fields?: field[]A list of single values with of, or of objects with fields