@mantine/core

A fully featured React components library with 100+ accessible, themeable UI primitives.

Library
npm
v9.5.1
31,575stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
91/100Excellent
Development Activity96
Maintenance100
Community68
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
92/100Excellent
Architecture90
Code Quality90
Innovation92
Learning Curve95

@mantine/core is the core components package of the Mantine monorepo, providing more than 100 React components for building modern web application interfaces, from buttons and inputs to modals, navigation, and data display primitives. Every component shares a consistent styles API, CSS-variables-based theming, and full TypeScript typings, making it possible to build polished, accessible UIs without reaching for a separate design system or heavy custom CSS.

Beyond raw components, Mantine ships companion packages (hooks, forms, charts, notifications, spotlight, and more) that plug into the same theming and styling conventions, so teams can adopt as much or as little of the ecosystem as they need while keeping a unified look and developer experience.

What You Get

  • 100+ production-ready, accessible React components covering layout, inputs, navigation, overlays, and data display
  • A unified theming system built on CSS variables with light/dark color schemes out of the box
  • A consistent Styles API (classNames, styles, CSS variables) for overriding any part of any component without fighting specificity
  • Polymorphic components via a shared factory pattern, letting most components render as a different element or custom component via an component prop
  • First-class TypeScript types with inline JSDoc documentation on every prop, including @default value annotations
  • A large family of companion packages (hooks, forms, charts, notifications, spotlight, dropzone, and more) that share the same conventions

Common Use Cases

  • Building admin dashboards and internal tools that need a complete, consistent component set out of the box
  • Rapidly prototyping or shipping SaaS product UIs without hand-rolling a design system
  • Replacing a patchwork of ad-hoc components with a themeable, accessible library across an existing React/Next.js codebase
  • Building marketing sites or docs sites that still need rich interactive components (modals, menus, forms) alongside static content

Under The Hood

Architecture Mantine is organized as a Yarn/pnpm-style monorepo under packages/@mantine/*, with @mantine/core depending on @mantine/hooks as a peer and re-exporting a core/ module (Box primitive, MantineProvider, a factory/polymorphicFactory helper, a Styles API layer, and shared types) alongside a components/ tree of 115+ component directories, each pairing a .tsx implementation, a .module.css stylesheet, a .test.tsx suite, and a .story.tsx example (e.g. src/components/Button/Button.tsx). Every component is built through the shared factory/polymorphicFactory functions, which wire up useProps/useStyles so all components consume theme defaults and expose the same override surface, giving the library a single consistent extension point instead of ad-hoc per-component APIs.

Tech Stack The package is written entirely in TypeScript, targets React 19 as a peer dependency, and ships dual CJS/ESM builds (./cjs/index.cjs, ./esm/index.mjs) with .d.ts/.d.mts types. Runtime dependencies are deliberately small and focused: @floating-ui/react for popover/menu positioning, clsx for class composition, react-remove-scroll for scroll locking in overlays, react-number-format for numeric inputs, and type-fest for advanced TypeScript utility types. Styling is done via per-component CSS Modules plus CSS custom properties rather than a CSS-in-JS runtime, and the monorepo uses Jest for testing with oxlint/oxfmt for linting and formatting.

Code Quality The repo contains 317+ test files, with nearly every component directory holding both a .test.tsx and a .story.tsx, indicating both automated coverage and visual/manual verification examples are treated as first-class artifacts rather than afterthoughts. Naming is highly consistent across components (<Name>.tsx, <Name>Props, <Name>StylesNames, <Name>CssVariables, <Name>Factory), and prop types are documented inline with JSDoc comments including @default annotations, which both documents intent and surfaces defaults directly in editor tooltips.

API Design The public API is unusually uniform for a library this large: nearly all components accept the same shape of props (classNames, styles, vars, component) via StylesApiProps and a shared factory, so a developer who learns how to restyle or polymorph one component already knows how to do it for the other 100+. Getting started requires only wrapping an app in MantineProvider before using any component, and prop names/behavior stay consistent between related components (e.g. size, color, radius tokens are shared theme concepts throughout), keeping the boilerplate and cognitive overhead low relative to the size of the library.

Used by 21 apps in this directory

Python
66%
Apache 2.0

Agent Control

AI Agents

295

An open-source runtime control plane for AI agents — define safety guardrails once, apply them across agents built on LangChain, CrewAI, Google ADK, or AWS Strands, and update controls without redeploying code.

View details
79
Repo Health
71
Technical
70
Dependency
Built with
Python66%
TypeScript33%
Updated yesterday
Python
99%
MIT

Agent Lightning

AI Development

17,500

A Microsoft-built training framework that optimizes AI agents with reinforcement learning, automatic prompt optimization, or supervised fine-tuning — with near-zero code changes to your existing agent, in any framework.

View details
84
Repo Health
68
Technical
69
Dependency
Built with
Python99%
Updated today
TypeScript
88%
MIT

DevTools-X

Developer Tools

1,532

41 offline-first developer utilities in a single 10MB cross-platform desktop app — no Electron, no cloud, no compromise.

View details
51
Repo Health
68
Technical
68
Dependency
Built with
TypeScript88%
Updated 2 months ago
TypeScript
95%
AGPL 3.0

Docmost

Productivity · Note Taking · Collaboration

21,411

Self-hosted collaborative wiki and knowledge base with real-time editing, diagrams, AI assistance, and enterprise access controls — a modern alternative to Confluence and Notion.

View details
89
Repo Health
70
Technical
71
Dependency
Built with
TypeScript95%
Updated yesterday
Python
51%
MIT

Docs

File Storage · CMS

16,733

Open-source collaborative knowledge platform with real-time editing, AI writing tools, and full self-hosting control — built by the French and German governments.

View details
87
Repo Health
81
Technical
72
Dependency
Built with
Python51%
TypeScript42%
Updated 2 days ago
PHP
57%
Other

Hi.Events

Ecommerce · Scheduling

3,985

Self-hosted event ticketing platform that keeps your attendee data, brand, and revenue completely under your control.

View details
88
Repo Health
84
Technical
67
Dependency
Built with
PHP57%
TypeScript37%
Updated 6 days ago
Go
62%
MIT

hoop

Security · Monitoring

791

A wire-protocol gateway that enforces data masking, command blocking, approval workflows, and full session recording for engineers and AI agents accessing production infrastructure.

View details
86
Repo Health
80
Technical
66
Dependency
Built with
Go62%
Clojure20%
JavaScript10%
Updated yesterday
TypeScript
95%
MIT

HyperDX

Developer Tools · Analytics · Monitoring

9,841

Open source observability platform that unifies logs, traces, metrics, and session replays on ClickHouse — now the core of ClickStack.

View details
87
Repo Health
83
Technical
70
Dependency
Built with
TypeScript95%
Updated today
Python
60%
MIT

LibrePhotos

File Storage

8,044

Self-hosted photo library with AI-powered face recognition, semantic search, and automatic event albums — no cloud required.

View details
82
Repo Health
78
Technical
67
Dependency
Built with
Python60%
TypeScript37%
Updated 3 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search