Open-source library, MIT licence
Mantine UI
Ready-made page sections and app pieces built with Mantine: headers, heroes, forms, cards, tables and stats. 109 components, each running live with its code to copy. The first one under each heading is free; the rest come with paid plans.
ui.mantine.devThe MIT licenceSet up once
Set up once
Every Mantine UI section needs Mantine's core package, its CSS and a MantineProvider round your app. Set them up once, then paste in any section.
npm install @mantine/core @mantine/hooks @tabler/icons-react clsx
import "@mantine/core/styles.css";
import { ColorSchemeScript, MantineProvider, mantineHtmlProps } from "@mantine/core";
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en" {...mantineHtmlProps}>
<head>
<ColorSchemeScript />
</head>
<body>
<MantineProvider>{children}</MantineProvider>
</body>
</html>
);
}
"use client";
Headers
6A top bar with a logo and a row of links that turns into a menu button on phones.
02Header with drop-down menus With paid plansA top bar whose links open small menus of more links.
03Header with search With paid plansA top bar with links and a search box that suggests pages as you type.
04Header with tabs With paid plansA top bar with an account menu, and a row of tabs under it.
05Header with a large menu With paid plansA top bar whose Features link opens a wide panel of options, with a side drawer on phones.
06Two-row header With paid plansA top bar with small secondary links above the main links.
Hero sections
3A centred headline, a short line and two buttons over a pattern of dots.
08Hero with a gradient headline With paid plansA large headline with a few words in a colour gradient, and two buttons.
09Hero with a checklist With paid plansA headline, a list of ticked points and two buttons beside a space for a picture.
Feature sections
5A title and a short intro above a grid of features, each with an icon.
11Features with large icons With paid plansThree features side by side, each with a large icon and a short line.
12Feature cards With paid plansA badge, a title and three feature cards with icons.
13Use cases With paid plansA title with one word picked out, then four kinds of people the product is for.
14Features beside a title With paid plansA title, a line and a button on one side, and four features with icons on the other.
Sign-in forms
3A heading, a link to sign up, and a sign-in form in a card.
29Sign-in and sign-up form With paid plansOne form that switches between signing in and creating an account.
30Forgot password form With paid plansA heading, an email box, a reset button and a link back to sign in.
Contact forms
3FAQs
4A heading over questions that open to show their answers.
35FAQ on blue With paid plansQuestions that open to show their answers, on a blue background.
36FAQ with a picture space With paid plansQuestions that open to show their answers, beside a space for a picture.
37FAQ page header With paid plansA large FAQ title with contact details, above three topic tiles.
Error pages
5A large 404, a short message and a button back home.
41404 page with a picture space With paid plansA short message and a button beside a space for a picture.
42404 page with large numbers With paid plansA message and a button over big, faint 404 numbers.
43500 page With paid plansA large 500, a short message and a button to refresh the page.
44503 page With paid plansA message that the servers are busy, over big, faint 503 numbers.
Grids
3Cards
7A card of small icon buttons for common tasks.
49Card with tags With paid plansA listing card with a picture space, a description and tags.
50Card with stats With paid plansA challenge card with a progress ring, a short summary and three numbers.
51Product card With paid plansA rental card with an icon, key details, a price and a button.
52Card with a progress ring With paid plansA project card with task counts and a ring that shows how much is done.
53Card with switches With paid plansA settings card with a list of on and off switches.
54Task card With paid plansA task with its due date, a progress bar and the people working on it.
Article cards
5A card with a picture space, a badge, a title, a short preview and the author.
56Article card with a footer With paid plansA card with a picture space, a tag, a title, the author and like, save and share buttons.
57Wide article card With paid plansA wide card with a picture space on the left and the article details on the right.
58Grid of article cards With paid plansA grid of cards, each with a picture space, a date and a title.
59Card with a gradient edge With paid plansA card with an icon and text, and a colour gradient down one edge.
Stats
9A grid of numbers, each with an icon and the change since last month.
61Stats grid with arrows With paid plansA grid of numbers, each with an up or down arrow for the change.
62Grouped stats With paid plansThree numbers with short notes, side by side on a blue panel.
63Stats with rings With paid plansNumbers with small progress rings and up or down arrows.
64Stats with a split bar With paid plansA total with a bar split into parts, and the numbers for each part.
65Challenge card With paid plansA card with an icon on top, a weekly goal, a progress bar and the days left.
66Stats with day buttons With paid plansUp and down buttons that change the day, beside three activity totals.
67Progress card With paid plansA monthly goal with the amount so far and a progress bar.
68Blue progress card With paid plansThe monthly goal card on a solid blue background.
Tables
4A long table whose header stays in place as you scroll.
70Table with search and sort With paid plansA table you can filter with a search box and sort by any column.
71Table with checkboxes With paid plansA table where you tick rows, with a box that selects them all.
72Table with review bars With paid plansA table where each row has a bar split into good and bad reviews.
People and accounts
8A button with a person's initials, name and email, and an arrow.
74User details With paid plansA person's initials, job, name, email and phone number.
75Profile card With paid plansA card with large initials, a name, a job and a button.
76Profile card with a cover With paid plansA profile card with a cover block, initials, a name and three numbers.
77Account menu With paid plansA menu of account options that opens from a person's initials.
78Table of people With paid plansA table of people with their job, email, phone and edit buttons.
79Table with roles With paid plansA table of people with a drop-down to change each person's role.
80List of people with actions With paid plansA list of people, each with a message button and a menu of actions.
Inputs
14A text box whose label moves up when you type.
87Email suggestions With paid plansA text box that shows a spinner, then suggests email endings as you type.
88Checkbox card With paid plansA card you click to tick, with a title and a line of text.
89Inputs with the label inside With paid plansA text box and a drop-down whose labels sit inside the box.
90Amount with currency With paid plansA number box with a currency drop-down at its end.
91Custom switch With paid plansA switch with its own look.
92Password with a reset link With paid plansA password box with a Forgot your password link next to its label.
93Gradient option switch With paid plansA row of options where the chosen one fills with a gradient.
94Checkbox cards with icons With paid plansFour cards you tick, each with an icon, a title and a line.
95Inputs with hints With paid plansA text box with an info icon, and a password box that shows a hint while you type.
96Input with an error style With paid plansA text box that shows its error with a red border and a warning icon.
97Search box with a button With paid plansA rounded search box with a round arrow button inside it.
98Language picker With paid plansA drop-down for choosing a language.
99Password strength meter With paid plansA password box with a strength bar and a checklist of rules.
Sliders
6A slider whose handle shows only when you point at it.
101Sliders with icon handles With paid plansA slider and a range slider whose handles are heart icons.
102Number with a slider With paid plansA number box with a slider along its bottom edge.
103Range slider with labels With paid plansA two-handle slider with labels that show the values.
104Slider with marks With paid plansA two-handle slider with marks at each quarter.
105Slider with a white handle With paid plansA slider with a large white handle and a grip icon.
Comments
2A comment with the person's initials, name, time and text.
109Comment with formatted text With paid plansA comment in a card whose text can hold links and bold words.