mantinedev/mantine
 Watch   
 Star   
 Fork   
5 days ago
mantine

8.3.5

What's Changed

  • [@mantine/code-highlight] Add option to load custom shiki themes (#8356)
  • [@mantine/form] Export more types (#8357)
  • [@mantine/hooks] use-local-storage: Fix value not resetting to the default value when value is cleared from the local storage (#8361)
  • [@mantine/core] Checkbox: Fix incorrect data-indeterminate attribute removal on state change (#8363)
  • [@mantine/core] Alert: Fix invalid aria-describedby and arialabelled-by if title or children props are not used (#8345)

New Contributors

Full Changelog: https://github.com/mantinedev/mantine/compare/8.3.4...8.3.5

10 days ago
mantine

8.3.4

What's Changed

  • [@mantine/core] Select: Allow overriding rightSection with null (#8328)
  • [@mantine/dates] Calendar: Fix incorrect props types for hasNextLevel (#8344)
  • [@mantine/core] Transition: Fix some animations being blurry (#8070, #8324)
  • [@mantine/dates] TimePicker: Fix custom amPmLabels being truncated in input and dropdown (#8336)
  • [@mantine/dates] DatePicker: Add missing multiple handling to DatePickerPreset type (#8341)

Full Changelog: https://github.com/mantinedev/mantine/compare/8.3.3...8.3.4

17 days ago
mantine

8.3.3

What's Changed

  • [@mantine/core] Checkbox: Fix iconColor prop not working as intended in some cases (#8271)
  • [@mantine/spotlight] Add scrollareaProps to pass props down to the actions list wrapper (#8300)
  • [@mantine/core] Tabs: Fix aria-controls not being overriden by ...others (#8248)
  • [@mantine/dates] DateInput: Fix invalid date value crashing component (#8290)
  • [@mantine/hooks] use-did-update: Fix hook not working in react strict mode (#8306)
  • [@mantine/core] Popover: Fix excessive dropdown position recalculations (#8308)
  • [@mantine/core] AppShell: Fix performance issues on first render (#8287)

New Contributors

Full Changelog: https://github.com/mantinedev/mantine/compare/8.3.2...8.3.3

26 days ago
mantine

8.3.2

What's Changed

  • [@mantine/dates] Fix getDayProps not including types for data-* attributes (#8275)
  • [@mantine/date] DateInput: Fix allowDeselect not allowing to clear the input value with Backspace key (#8229)
  • [@mantine/date] DateInput: Fix allowDeselect not allowing to clear the input value with Backspace key
  • [@mantine/charts] Heatmap: Fix months displaying as splitted even if splitMonths is not set
  • [@mantine/hooks] use-click-outside: Pass event object as an argument to the callback function (#8282)
  • [@mantine/core] NavLink: Fix passed onClick/onKeyDown preventing expand/collapse of child nodes (#8294)
  • [@mantine/hooks] use-window-scroll: Limit number of state updates with requestAnimationFrame (#8287)
  • [@mantine/dates] TimePicker: Fix page scrolling to the top on keyboard navigation (#8237)
  • [@mantine/core] Menu: Add missing onChange type to Menu.Sub (#8292)
  • [@mantine/core] List: Fix nested list items overflowing parent list container (#8269)
  • [@mantine/core] Input: Fix alignment of right section with clear button (#8254)
  • [@mantine/form] Fix nodenext resolutions (#8260)
  • [@mantine/spotlight] Improve group label encoding logic (#8264)

New Contributors

Full Changelog: https://github.com/mantinedev/mantine/compare/8.3.1...8.3.2

2025-09-10 17:20:11
mantine

8.3.1

What's new

  • [@mantine/hooks] use-scroll-spy: Fix scroll events not being reassigned when scrollHost changes (#8251)
  • [@mantine/modals] Update updateModal to include types for confirm modal
  • [@mantine/core] Tabs: Allow overriding aria attributes with ...others
  • [@mantine/core] Select: Fix clear button overlaying selected option (#8249)
  • [@mantine/core] Combobox: Update focusTarget handler to correctly handle missing DOM node (#8185)
  • [@mantine/core] ColorPicker: Fix unexpected margin-top (#8247)
  • [@mantine/core] Allow specifying generic component in default props in the theme object (#8188)
  • [@mantine/form] Fix incorrect type of matchesField validator (#8201)
  • [@mantine/modals] Fix data-* attributes triggering type error (#8217)
  • [@mantine/dates] DateInput: Fix allowDeselect prop not working (#8229)
  • [@mantine/charts] Fix long tooltip names overflowing on the series color swatch in the tooltip (#8230)
2025-09-08 18:59:47
mantine

8.3.0 🔥

View changelog with demos on mantine.dev website

MiniCalendar component

New MiniCalendar component:

import { useState } from 'react';
import { MiniCalendar } from '@mantine/dates';

function Demo() {
  const [value, onChange] = useState<string | null>('2025-04-15');
  return <MiniCalendar value={value} onChange={onChange} numberOfDays={6} />;
}

Progress vertical orientation

Progress now supports vertical orientation:

import { Progress } from '@mantine/core';

function Demo() {
  return (
    <Group>
      <Progress value={80} orientation="vertical" h={200} />
      <Progress value={60} color="orange" size="xl" orientation="vertical" h={200} animated />

      <Progress.Root size="xl" autoContrast orientation="vertical" h={200}>
        <Progress.Section value={40} color="lime.4">
          <Progress.Label>Documents</Progress.Label>
        </Progress.Section>
        <Progress.Section value={20} color="yellow.4">
          <Progress.Label>Apps</Progress.Label>
        </Progress.Section>
        <Progress.Section value={20} color="cyan.7">
          <Progress.Label>Other</Progress.Label>
        </Progress.Section>
      </Progress.Root>
    </Group>
  );
}

Heatmap splitMonths

Heatmap now supports splitMonths prop to visually separate months with a spacer column and render only days that belong to each month in its columns.

import { Heatmap } from '@mantine/charts';
import { data } from './data';

function Demo() {
  return (
    <Heatmap
      data={data}
      startDate="2024-02-16"
      endDate="2025-02-16"
      withMonthLabels
      splitMonths
    />
  );
}

Improved clearable prop handling

Select, MultiSelect, and other components with clearable prop now allow displaying the clear button next to the right section:

import { Select } from '@mantine/core';

function Demo() {
  return (
    <Select
      label="Your favorite library"
      placeholder="Pick value"
      data={['React', 'Angular', 'Vue', 'Svelte']}
      defaultValue="React"
      clearable
    />
  );
}

Tiptap 3 support

@mantine/tiptap now supports Tiptap 3. It is recommended to update all @tiptap/* packages to version 3.2.0 or later.

Your application might require some modifications related to Tiptap 3. If you want to update your application to TipTap 3, follow migration guide.

LLMs.txt

You can now use LLMs.txt file with Cursor and other IDEs. The file is automatically updated with each release and includes every demo and documentation page from mantine.dev. It is about 1.8mb. You can find the latest version of LLMs.txt here and further documentation here.

Other changes

  • MultiSelect now supports clearSearchOnChange prop to clear search input when an item is selected.
  • Reordering list items example now uses dnd-kit instead of @hello-pangea/dnd
  • TimePicker now supports reverseTimeControlsList prop to reverse the order of time controls in the dropdown. Use this option if you want the order of controls to match keyboard controls (up and down arrow) direction.
  • DirectionProvider now automatically subscribes to the dir attribute mutations of the root element (usually <html />) and updates internal state automatically.
  • Select and MultiSelect now retain references to selected options that are no longer present in data prop.
  • Active color swatch now has check icon in ColorPicker and ColorInput components.
2025-08-31 19:46:57
mantine

8.2.8

What's Changed

  • [@mantine/charts] LineChart: Fix gridColor prop being passed down to the root DOM node
  • [@mantine/carousel] Add data-type="next" and data-type="previous" to controls
  • [@mantine/hooks] use-scroll-spy: Add offset prop support (#8209)
  • [@mantine/core] ScrollArea: Fix incorrect horizontal size calculations in ScrollArea.Autosize (#8199)
  • [@mantine/core] JsonInput: Fix font-size not scaling with size prop (#8206)
  • [@mantine/hooks] Fix incorrect ESM exports for nodenext module resolution (#8211)
  • [@mantine/hooks] use-document-visibility: Fix initial document visibility state not being set (#8215)
  • [@mantine/dates] DateTimePicker: Fix onDropdownClose not working (#8212)

New Contributors

Full Changelog: https://github.com/mantinedev/mantine/compare/8.2.7...8.2.8

2025-08-22 20:13:51
mantine

8.2.7

  • [@mantine/hooks] use-media-query: Fix hook crashing inside iframe in Safari (#8189)
  • [@mantine/hooks] use-debounced-value: Make cancel a stable reference (#8181)
  • [@mantine/core] Combobox: Fix incorrect flipping logic (#8179, #8194)
  • [@mantine/core] InputBase: Fix broken padding in multiline inputs (#8177)
2025-08-16 21:51:33
mantine

8.2.5

What's Changed

  • [@mantine/core] ScrollArea: Fix ScrollArea.Autosize not resizing when width of children changes (#8160)
  • [@mantine/core] ScrollArea: Fix scrollbars not resizing correctly with dynamic content (#8162)
  • [@mantine/core] TagsInput: Fix backspace key removing values with readOnly prop set (#8066)
  • [@mantine/core] NumberInput: Fix incorrect trailing zeros handling for decimal values (#8089)
  • [@mantine/core] Fix incorrect padding of multiline inputs (#8156)
  • [@mantine/hooks] use-list-state: Update types to allow state function initializer (#8157)

New Contributors

Full Changelog: https://github.com/mantinedev/mantine/compare/8.2.4...8.2.5

2025-08-07 17:33:02
mantine

8.2.4

What's Changed

  • [@mantine/dates] DateInput: Fix disabled and clearable props collision (#8098)
  • [@mantine/modals] Fix incorrect confirmProps and cancelProps types (#8099)
  • [@mantine/dates] TimePicker: Fix controlled incorrect controlled value updates handling (#8108)
  • [@mantine/core] NumberInput: Fix incorrect value sanitization in onBlur for max value clamping (#8114)
  • [@mantine/core] Fix MultiSelect and TagsInput pills not being centered (#8145)
  • [@mantine/core] Table: Fix 1px gap on thead with sticky + withTableBorder combination (#8109)
  • [@mantine/core] Fix caret being invisible in some inputs (#8149)
  • [@mantine/tiptap] Fix controls props being overridden by default props (#8148)
  • [@mantine/code-highlight] Fix aria-label not being set on the copy button (#8130)
  • [@mantine/code-highlight] Fix incorrect overscroll behavior

New Contributors

Full Changelog: https://github.com/mantinedev/mantine/compare/8.2.3...8.2.4