Version v9.0.0 | Mantine

Version v9.0.0 | Mantine

You can now sponsor Mantine development with OpenCollective . All funds are used to improve Mantine and create new features and components.

This changelog covers breaking changes and new features in Mantine 9.0. To migrate your application to Mantine 9.0, follow 8.x → 9.x migration guide .

Starting from Mantine 9.0, the following dependencies are required:

New @mantine/schedule package provides a complete set of calendar scheduling components for React applications. It includes multiple view levels, drag-and-drop event management, and extensive customization options.

Schedule is a unified container component that combines all views with built-in navigation and view switching. Drag events to reschedule them:

DayView displays a single day with configurable time slots, all-day event section, current time indicator, and business hours highlighting. Drag events to reschedule them:

WeekView shows a weekly calendar grid with time slots, week numbers, weekend day toggling, and multi-day event spanning. Drag events across days and time slots:

MonthView displays a monthly calendar grid with event overflow handling, outside days display, and week numbers. Drag events to different days:

YearView provides a 12-month year overview organized by quarters with day-level event indicators:

MobileMonthView is a mobile-optimized month view with event details panel for the selected day:

Saturday, September 26

To get started, follow the getting started guide .

Collapse component now supports horizontal orientation:

New use-collapse hook is the hook version of Collapse component. It allows animation of height from 0 to auto and vice versa.

use-horizontal-collapse works the same way as use-collapse but animates width instead of height:

New use-floating-window hook allows creating floating draggable elements:

FloatingWindow provides component API for use-floating-window hook:

New OverflowList component displays list of items and collapses the overflowing items into a single element:

New Marquee component creates continuous scrolling animation for content:

New Scroller component displays horizontally scrollable content with navigation controls. It supports native scrolling via trackpad, shift + mouse wheel, touch gestures, and mouse drag:

New use-scroller hook provides logic for creating custom scrollable containers with navigation controls:

New BarsList component displays a list of horizontal bars with names and values. It supports custom colors, auto contrast, value formatting, and custom bar rendering:

Card component now supports horizontal orientation:

Checkbox.Group and Switch.Group now support maxSelectedValues prop to limit the number of selected values. When the limit is reached, the remaining controls are disabled and cannot be selected.

All Mantine input components based on Input component now support loading prop.

Set loading prop to display a loading indicator. By default, the loader is displayed on the right side of the input. You can change the position with the loadingPosition prop to 'left' or 'right' . This is useful for async operations like API calls, searches, or validations:

MultiSelect and TagsInput components now support renderPill prop to customize pill rendering:

All clearable input components now support clearSectionMode prop that determines how the clear button and rightSection are rendered:

This prop is supported by Select , Autocomplete , MultiSelect , TagsInput , FileInput , DateInput , DatePickerInput , MonthPickerInput , YearPickerInput , TimePicker , and DateTimePicker .

use-form validation rules can now be async – return a Promise that resolves to an error message or null . When all rules are synchronous, form.validate() , form.validateField() and form.isValid() return their results directly (not wrapped in a Promise ). When any rule is async, these methods return promises instead. TypeScript infers the correct return type based on your validation rules, so you get precise types without manual annotations.

The form.validating property is true while any async validation is in progress, and form.isValidating(path) checks individual fields. The validating state is never set for forms with only synchronous rules.

Each rule receives an AbortSignal as the fourth argument. The signal is aborted when a newer validation supersedes the current one, which you can use to cancel in-flight HTTP requests.

When using async validation with validateInputOnChange , set validateDebounce to avoid firing an API call on every keystroke:

use-form now supports passing second type argument TransformedValues to define the type of transformed values returned by form.getTransformedValues and form.onSubmit :

SegmentedControl , Select , MultiSelect , Chip.Group , Switch.Group , Checkbox.Group and Radio.Group now support generic value type. You can pass primitive values (numbers, strings, booleans, bigint) as the type argument. The generic type is used for value , defaultValue , onChange and other props.

For example, generic type can now be used with SegmentedControl to specify string union:

Combobox component now supports virtualization with the useVirtualizedCombobox hook. The hook does not depend on any specific virtualization library. The recommended option is @tanstack/react-virtual .

Example of implementation with useVirtualizedCombobox and @tanstack/react-virtual :

You can find more virtualization examples on the Combobox examples page .

Highlight component now supports custom colors for individual highlight terms. You can provide an array of objects with text and color properties to assign different colors to different highlighted terms:

Error : Invalid input. Warning : Check this field. Success : All tests passed.

Highlight component now supports wholeWord prop to match only complete words. When enabled, 'the' will not match 'there' or 'theme':

With whole word matching (wholeWord= { true } )

Without whole word matching (default)

The the me is the re

Pagination component and use-pagination hook now support startValue prop to define the starting page number. For example, with startValue={5} and total={15} , the pagination range will be from 5 to 15:

Pages 5–15 (startValue=5, total=15)

Grid component no longer uses negative margins for spacing between columns. Instead, it now uses native CSS gap property, which means you no longer need to use overflow="hidden" to prevent content overflow caused by negative margins.

Slider and RangeSlider components now support vertical orientation:

SimpleGrid component now supports minColWidth prop to use CSS Grid auto-fill / auto-fit to automatically adjust the number of columns based on available space and minimum column width. When minColWidth is set, the cols prop is ignored. Use autoFlow prop to switch between auto-fill (default) and auto-fit behavior.

SimpleGrid also now supports autoRows prop to control the size of implicitly created grid rows:

Calendar , DatePicker , MonthPicker and YearPicker components now support fullWidth prop to make the calendar stretch to fill 100% of its parent container width:

Many Mantine components and hooks now provide namespace exports for related types. For example, use-disclosure hook types can now be accessed like this:

Example of using namespace types with Button props type:

New fontWeights property was added to the theme object . It allows you to control font-weight values used across all components. The default values are:

Each value is mapped to a CSS variable: --mantine-font-weight-regular , --mantine-font-weight-medium , --mantine-font-weight-bold . All components that previously used hardcoded font-weight values now use these CSS variables.

For example, to revert the medium font weight from 600 back to 500 (the default in Mantine 8):

Mantine now includes @mantine/mcp-server package that exposes Mantine documentation over Model Context Protocol . It allows AI tools to query Mantine docs and props data through MCP tools instead of raw web scraping.

The server uses static data generated from Mantine documentation and serves:

This setup is useful in agent workflows where tools can call MCP functions directly to retrieve structured data and reduce prompt size.

Basic server configuration:

For setup details, supported tools, and client-specific instructions, see Mantine with LLMs .

Mantine skills for AI coding agents are documented in the Mantine with LLMs guide.

New isUrl and isOneOf validators were added to @mantine/form package:

@mantine/form now has built-in support for Standard Schema , a community specification implemented by Zod v4, Valibot, ArkType, and other schema libraries. Use schemaResolver to validate forms with any compliant library without installing a separate resolver package:

Pass { sync: true } when your schema is synchronous to get synchronous return types for form.validate() , form.validateField() , and form.isValid() .

AppShell component now supports mode="static" which renders all AppShell elements as part of the normal document flow using CSS Grid instead of fixed positioning. Static mode supports layout="alt" to place navbar and aside at full height with header and footer adjusted between them. See AppShell examples for more details.

ScrollArea component now supports startScrollPosition prop to set the initial scroll position when the component mounts:

Charizard description from Bulbapedia

Charizard is a draconic, bipedal Pokémon. It is primarily orange with a cream underside from the chest to the tip of its tail. It has a long neck, small blue eyes, slightly raised nostrils, and two horn-like structures protruding from the back of its rectangular head. There are two fangs visible in the upper jaw when its mouth is closed. Two large wings with blue-green undersides sprout from its back, and a horn-like appendage juts out from the top of the third joint of each wing. A single wing-finger is visible through the center of each wing membrane. Charizard's arms are short and skinny compared to its robust belly, and each limb has three white claws. It has stocky legs with cream-colored soles on each of its plantigrade feet. The tip of its long, tapering tail burns with a sizable flame.

As Mega Charizard X, its body and legs are more physically fit, though its arms remain thin. Its skin turns black with a sky-blue underside and soles. Two spikes with blue tips curve upward from the front and back of each shoulder, while the tips of its horns sharpen, turn blue, and curve slightly upward. Its brow and claws are larger, and its eyes are now red. It has two small, fin-like spikes under each horn and two more down its lower neck. The finger disappears from the wing membrane, and the lower edges are divided into large, rounded points. The third joint of each wing-arm is adorned with a claw-like spike. Mega Charizard X breathes blue flames out the sides of its mouth, and the flame on its tail now burns blue. It is said that its new power turns it black and creates more intense flames.

Five hooks — usePageLeave , useWindowEvent , useHotkeys , useClickOutside , and useCollapse — have been updated to use React 19's stable useEffectEvent . Previously these hooks captured stale closures or caused unnecessary event listener re-registrations when non-memoized callbacks were passed. With useEffectEvent , each hook registers a single stable listener that always calls the latest version of the provided callback, so wrapping callbacks in useCallback or useMemo is no longer required.

Transition , Collapse , Tabs.Panel , Stepper , and Tree now use React 19's Activity component when keepMounted is set. Activity preserves the state of hidden subtrees — form inputs, scroll positions, and any other component state survive while the content is not visible. Stepper and Tree gain a new keepMounted prop; all other components already had it.

Recommended articles