Skip to main content

Built-in Field Types

React-Forminate comes with a rich set of pre-built field components that cover most form scenarios. These fields can be used directly in your form schemas without any additional configuration.

Field Type Summary​

Field TypeDescriptionExample Use CaseKey Properties
TextSingle-line text inputNames, emails, searchtype: "text", placeholder, maxLength
EmailOptimized email input with validationLogin forms, contact formstype: "email", autoComplete: "email"
DateDate picker with range supportBirthdays, appointmentstype: "date", minDate, maxDate
SelectDropdown single/multi-selectCountry select, categoriestype: "select", options, isMulti
RadioRadio button groupSingle-choice optionstype: "radio", options, layout: "horizontal"
CheckboxCheckbox groupMulti-select optionstype: "checkbox", options, minItems
TextareaMulti-line text inputComments, descriptionstype: "textarea", rows, cols
FileFile upload with previewDocuments, imagestype: "file", accept, multiple
GroupLogical field groupingAddress blockstype: "group", fields[], legend
ContainerVisual layout containerSection dividerstype: "container", className
GridViewTabular data displayProduct listingstype: "gridview", columns, data
SpacerVertical/horizontal spaceForm layouttype: "spacer", size

Key Features Across All Fields​

  1. Consistent Props
    All fields support:

    • Validation (required, pattern, custom)
    • Conditional logic (visibility, disabled)
    • Styling (className, styles)
  2. Type-Specific Enhancements

    // Select field example
    {
    type: "select",
    options: [
    { label: "Option 1", value: "opt1" },
    { label: "Option 2", value: "opt2" }
    ],
    isMulti: true
    }
  3. Accessibility Built-in

    • Automatic ARIA labels
    • Keyboard navigation
    • Focus management
Clicky