@mantine/core

v9.0.1 MIT

React components library focused on usability, accessibility and developer experience

Weekly Downloads
1.1M
Stars
30.9K
Forks
2.3K
Open Issues
48
Gzip Size
118.1 kB
Unpacked Size
7.4 MB
Dependencies
6
Last Updated
1mo ago

@mantine/core Download Trends

Download trends for @mantine/core01.6M3.2M4.8M6.4MFeb 2025MayAugNovFebApr 2026
@mantine/core

About @mantine/core

@mantine/core provides a comprehensive suite of accessible and developer-friendly React components. It addresses the common challenge of building consistent and performant user interfaces in React applications, offering a rich set of pre-built components that adhere to modern UI/UX standards. The library aims to streamline component development and management, allowing developers to focus on application logic rather than reinventing UI elements.

Designed with usability, accessibility, and developer experience as core tenets, Mantine targets React developers seeking a robust foundation for their front-end. Its component design prioritizes clear visual hierarchy, keyboard navigation, and ARIA attributes, making it suitable for applications demanding high accessibility standards. The extensive documentation and clear API further contribute to its developer-friendly nature.

Mantine's API revolves around a declarative component model and a hook-based utility system. Key features include theming capabilities that allow for extensive customization via `MantineProvider` and responsive styles managed through the `useMantineTheme` hook. Components like `Button`, `Input`, and `Modal` expose extensive props for control and customization, following common React patterns.

Integration is seamless within any standard React or Next.js project. It leverages TypeScript for type safety and can be easily styled using CSS-in-JS solutions or CSS Modules. The library encourages a component-driven development workflow and fits well within ecosystems that employ build tools like Webpack or Vite.

With 1.4 million weekly downloads and 30.9K GitHub stars, @mantine/core is a mature and widely adopted UI library. Its unpacked size is 7.4 MB, with a gzipped bundle size of 118.1 kB for core components, representing a reasonable trade-off for the feature set provided. The project is actively maintained, indicated by its recent update in April 2026, and has a relatively low number of open issues (48).

While powerful, developers should be aware that the comprehensive nature of Mantine introduces a certain level of abstraction that might not suit projects requiring extremely fine-grained control over every aspect of rendering. For scenarios demanding minimal bundle size above all else or for very simple, bespoke UI elements, integrating individual, lighter-weight components might be a consideration.

When to use

  • When building interactive dashboards and admin panels requiring a consistent look and feel across numerous components.
  • When implementing ARIA-compliant and keyboard-navigable interfaces to meet accessibility requirements.
  • When leveraging Mantine's theming system via `MantineProvider` to create design systems with dark mode and custom color palettes.
  • When utilizing the extensive hook collection, such as `useForm` or `useDisclosure`, to manage component state and logic efficiently.
  • When integrating with Next.js or other React frameworks for server-side rendering or static site generation scenarios.
  • When aiming for rapid UI development with a rich set of pre-built, customizable components like `DataTable`, `Stepper`, and `Timeline`.

When NOT to use

  • If the project's sole requirement is a very minimal set of custom-styled buttons or inputs, consider a leaner CSS framework or custom CSS.
  • If the application demands an exceptionally small JavaScript footprint and only a few UI elements are needed, a more specialized, minimal component library might be more appropriate.
  • When working within a strict design system that already has all UI components defined and does not allow for external library integration.
  • If the development team is already deeply invested in and heavily reliant on another specific UI component library's ecosystem and patterns.
  • For environments where performance is hyper-critical and every kilobyte of bundle size must be aggressively optimized, potentially necessitating a hand-rolled component approach for critical paths.

@mantine/core Alternatives

@mantine/core Categories