Welcome to Mantine!

Framework guides

Get started without framework

Choose packages that you will use in your application:
PackageDescription
@mantine/hooks
Hooks for state and UI management
@mantine/core
Core components library: inputs, buttons, overlays, etc.
@mantine/form
Form management library
@mantine/dates
Date inputs, calendars
@mantine/notifications
Notifications system
@mantine/prism
Code highlight with your theme colors and styles
@mantine/rte
Rich text editor based on Quill.js
@mantine/dropzone
Capture files with drag and drop
@mantine/carousel
Embla based carousel component
@mantine/spotlight
Overlay command center
@mantine/modals
Centralized modals manager
@mantine/nprogress
Navigation progress
Install dependencies:
yarn add @mantine/core @mantine/hooks @emotion/react
npm install @mantine/core @mantine/hooks @emotion/react

Wrap your application root component with MantineProvider:

import { MantineProvider } from '@mantine/core';
function Demo() {
return (
<MantineProvider withGlobalStyles withNormalizeCSS>
<App />
</MantineProvider>
);
}

All set! You can now import and use Mantine components anywhere in your application:

import { Button } from '@mantine/core';
function Demo() {
return <Button>Click me!</Button>;
}

Start learning