Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Mantine components

Mantine is a modern React component library that provides a comprehensive set of accessible and customizable components. It focuses on developer experience, theming, and responsive design. The FormEngine component library includes Mantine components as an alternative to Material UI and React Suite components.

Here is a list of the Mantine components available in the FormEngine library.

Inputs

These components are used for data entry and user input:

ComponentDescriptionMantine Documentation
MtCheckboxCheckbox for binary choicesCheckbox
MtCheckboxGroupGroup of checkboxes for multiple selectionCheckbox
MtChipChip for tags or filtersChip
MtChipCheckboxGroupChip-based checkbox groupChip
MtChipRadioGroupChip-based radio groupChip
MtColorInputColor picker inputColorInput
MtColorPickerColor picker with swatchesColorPicker
MtFileInputFile input with drag-and-dropFileInput
MtDropzoneFile upload dropzoneMantine Dropzone (optional package)
MtJsonInputJSON editor inputJsonInput
MtLabelLabel component for form controlsInput (label)
MtNumberInputNumeric input with optional stepperNumberInput
MtPasswordInputPassword input with visibility togglePasswordInput
MtRadioSingle radio optionRadio
MtRadioGroupRadio button group for single selectionRadio.Group
MtRangeSliderSlider for selecting a range of valuesRangeSlider
MtRatingStar or custom symbol rating inputRating
MtSegmentedControlSegmented control for mutually exclusive optionsSegmentedControl
MtSliderSlider for selecting a value from a rangeSlider
MtSwitchToggle switch for on/off statesSwitch
MtSwitchGroupGroup of switches with a shared labelSwitch.Group
MtTextInputText input field for single-line textTextInput
MtTextareaMulti-line text inputTextarea

Combobox and Select

Dropdown and selection components:

ComponentDescriptionMantine Documentation
MtAutocompleteAutocomplete with suggestionsAutocomplete
MtMultiSelectDropdown for multiple selectionMultiSelect
MtNativeSelectNative HTML select styled with MantineNativeSelect
MtSelectDropdown for single selectionSelect
MtTagsInputInput for multiple tagsTagsInput

Date and Time

Components for date and time selection (require @mantine/dates):

ComponentDescriptionMantine Documentation
MtDateMultiplePickerDate picker for selecting multiple datesMantine Dates
MtDateMultiplePickerInputDate picker input for multiple datesMantine Dates
MtDatePickerDate picker for a single dateMantine Dates
MtDatePickerInputDate picker with input field for a single dateMantine Dates
MtDateRangePickerDate picker for selecting a date rangeMantine Dates
MtDateRangePickerInputDate picker input for a date rangeMantine Dates
MtDateTimePickerDate and time pickerMantine Dates
MtMonthMultiplePickerMonth picker for selecting multiple monthsMantine Dates
MtMonthMultiplePickerInputMonth picker input for multiple monthsMantine Dates
MtMonthPickerMonth picker for a single monthMantine Dates
MtMonthPickerInputMonth picker with input fieldMantine Dates
MtMonthRangePickerMonth picker for selecting a range of monthsMantine Dates
MtMonthRangePickerInputMonth picker input for a range of monthsMantine Dates
MtTimeGridTime slot grid for schedulingMantine Dates
MtTimeInputTime input fieldMantine Dates
MtTimePickerTime pickerMantine Dates
MtYearMultiplePickerYear picker for selecting multiple yearsMantine Dates
MtYearMultiplePickerInputYear picker input for multiple yearsMantine Dates
MtYearPickerYear picker for a single yearMantine Dates
MtYearPickerInputYear picker with input fieldMantine Dates
MtYearRangePickerYear picker for selecting a range of yearsMantine Dates
MtYearRangePickerInputYear picker input for a range of yearsMantine Dates

Layout

ComponentDescriptionMantine Documentation
MtContainerContainer for centering and constraining contentContainer

Typography

ComponentDescriptionMantine Documentation
MtTextText component for body contentText
MtTitleHeading componentTitle
MtTypographyTypography with preset text stylesTypography

Miscellaneous

Miscellaneous utility components:


ComponentDescriptionMantine Documentation
MtDividerVisual dividerDivider
MtErrorWrapperError display wrapperCustom component for error handling
MtViewerWrapperWrapper component for viewersCustom component for viewer integration

Other extensions

Additional Mantine-based extensions:

ComponentDescriptionMantine Documentation
MtTiptapRich text editorMantine Tiptap (optional package)
MtDropzoneFile upload dropzoneMantine Dropzone (optional package)

Overlays

ComponentDescriptionMantine Documentation
MtTooltipTooltip for additional infoTooltip
ComponentDescriptionMantine Documentation
MtDialogModal dialog containerModal

Buttons

ComponentDescriptionMantine Documentation
MtButtonButton for user actionsButton

Getting Started with Mantine Components

Installation

Mantine components are available in the @react-form-builder/components-mantine package:

npm install @react-form-builder/components-mantine

Peer dependencies (Mantine packages) must also be installed as required by your usage:

npm install @mantine/core @mantine/dates
# Optional: @mantine/dropzone @mantine/tiptap

Additional Resources

Support

For issues with Mantine components in FormEngine:

Mantine components provide a modern, accessible, and themable way to build forms and interfaces in FormEngine applications, with strong TypeScript support and responsive design out of the box.