Skip to main content

All components

The design system is two things stacked: a theme that restyles Mantine components in place, and a small set of components built here for shapes Mantine has no answer for. Nothing else is covered — Mantine ships around a hundred components and this theme touches thirty-four of them.

Each page states which of three kinds it documents:

BaseMeansImport from
Mantine + overrideStock Mantine, restyled through the theme. Mantine's props table is the whole API.@mantine/core
Wrapper over MantineOur component rendering a Mantine one, with a changed API.@multiconsult-group-products/design-system
Custom componentBuilt here. No Mantine equivalent.@multiconsult-group-products/design-system

The import column is the part people get wrong. A themed Mantine component is not re-exported by @multiconsult-group-products/design-system — the package exports the theme and the components built here, and everything else is styled through MantineProvider.

Built here​

Eleven components, all exported from @multiconsult-group-products/design-system.

ComponentBaseBuilt on
ChipCustomBox
DataTableWrapperTable + TanStack React Table
FieldLabelCustomBox, Tooltip
KeyValueCustomStack, Text
MultiSelectWrapperMultiSelect
RichTextFieldWrapperRichTextEditor
SelectCustomCombobox, InputBase
SplitButtonWrapperButton + Menu
TabsWrapperTabs
TextInputWrapperTextInput
TopBarCustomBox, Menu, Popover, Spotlight

Four of these share a name with a Mantine component — MultiSelect, Select, Tabs and TextInput. Importing the wrong one gives you something that looks nearly right and is missing the added props. A consuming project can make that mistake impossible with a lint rule — see Keeping the import honest.

Themed Mantine components​

Registered in theme.ts with Component.extend(). Import from @mantine/core unless noted.

GroupComponents
ActionsButton, ActionIcon
Forms and inputTextInput, Checkbox, Radio, Switch, Slider, RangeSlider, SegmentedControl, MultiSelect, Autocomplete, TagsInput, Textarea
DatesDatePickerInput, TimePicker, DateTimePicker, DatePicker — from @mantine/dates
FilesDropzone — from @mantine/dropzone
Data displayTable, Badge, Pill
Feedback and overlaysAlert, Notification, Tooltip, Modal
NavigationTabs (native), Breadcrumbs, Pagination, Stepper
LayoutContainer, Stack, Group, Grid
TypographyText, Anchor

Every themed component in the table has a page. The following supporting components are documented alongside their consumers:

  • Input — Mantine's base for the other inputs. TextInput, Select, MultiSelect, Autocomplete and TagsInput all render through it, and its border, height and state styling is documented on TextInput's page.
  • Popover — the base for every floating panel. Menu, HoverCard and Combobox each construct one internally, so the offset, radius and fade-down motion registered on Popover reach all of them at once. It is the Input of dropdowns — with one caveat: the panel surface does not spread that far. Mantine resolves theme classNames by the static selector the inner Popover is given, and every component sets its own, so popover.module.css is registered component by component through the dropdownSurface() helper in theme.ts. A new floating component has to be added there as well, or its panel renders on Mantine's own white.
  • Menu — now wired (menu.module.css), but with no page of its own yet. It is documented where it shows up: SplitButton's dropdown and DataTable's row-action and column-visibility menus.
  • Accordion — control text follows the page's text colour.
  • CloseButton and InputClearButton — neutral pointer states retain keyboard focus styling.
  • Spotlight — from @mantine/spotlight, themed in spotlight.module.css. It is TopBar's search panel, and the theming sits on Spotlight itself rather than on the bar so that a Spotlight an application runs of its own looks the same. An application that uses either must import @mantine/spotlight/styles.css.
  • Indicator — the unread badge on TopBar's messages bell, and the only one in the system today. size and radius are defaulted in theme.ts rather than left to each call site, so a second one elsewhere matches it without anyone having to remember the numbers.

Not themed​

These render with Mantine's own styling. They are not forbidden — they are simply not part of the system yet, and will not match the rest of the interface.

Five of them are a special case: a stylesheet for each exists in src/themes/style-overrides/, but nothing imports it, so it has no effect at runtime. Someone started the work and it was never wired into theme.ts.

ComponentStylesheet existsNotes
AppShellappshell.module.cssNot wired. TopBar was built without it — see the note below.
NavLinknavlink.module.cssNot wired, and deliberately so — see the note below.
Avataravatar.module.cssNot wired.
Progressprogress.module.cssNot wired.
ThemeIconthemeicon.module.cssNot wired.
ScrollArea—No stylesheet.
Loader—No stylesheet.

AppShell and NavLink were once expected to block TopBar. Neither did. The bar owns a real <header> rather than being an AppShell.Header, which keeps it renderable on its own — in this showcase, and in an application that uses no AppShell at all — and its navigation entries are the system's own TopBarNavItem rather than a themed NavLink. So both stylesheets stay unwired, and neither is a prerequisite for anything shipped. An application-shell layout of our own would be the thing that finally needs AppShell; nothing has asked for one yet.

Menu and Popover used to be on this list. Both are now registered — see the base-primitive note at the end of the themed section above. menu.module.css styles the default rows, not just the header variant: a Menu.Item gets Figma's 40px row, flush edge-to-edge inside the panel's 8px radius, and one --mantine-color-surface-raised surface shared by hover, focus and the arrow-key-marked row ([data-menu-active]), which Mantine leaves unstyled. What is still missing is a page of its own, not the styling.

Everything else in @mantine/core that is not in the themed list above falls in this category too.

Not part of the system​

WhatWhy
@mantine/formForm state is TanStack Form. The two compete for the same role and one was picked; @mantine/form must not be added as a dependency or a peer. This says nothing about form components — TextInput, Checkbox, Select, Radio and Switch are all themed.