mantine

Guide Mantine v7 UI implementation with CSS Modules and @mantine/form.

3|1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/jon23d/skillz --skill mantine-jon23d
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mantine
Source: https://github.com/jon23d/skillz/tree/main/skills/mantine
Command: npx skills add https://github.com/jon23d/skillz --skill mantine-jon23d

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to implementing user interfaces with Mantine v7, addressing the challenges of its updated styling system and component usage.

Core Features & Use Cases

  • Package Setup: Streamlines adding necessary Mantine packages and configuring PostCSS.
  • Provider & Theme: Guides setting up the MantineProvider and custom themes for consistent design.
  • Component Guide: Recommends appropriate Mantine components for various UI needs.
  • Styling: Details the CSS Modules approach and correct usage of classNames and style props.
  • Forms: Covers advanced patterns for @mantine/form including validation, nested objects, and array fields.
  • Hooks & Patterns: Explains essential hooks and common implementation patterns like modals with forms and AppShell layouts.
  • Use Case: When building a new dashboard application using React and Mantine, this Skill will guide you through setting up the project structure, theming, and implementing complex components like data tables and forms.

Quick Start

Load the mantine skill to set up a new React project with Mantine v7, including core packages, provider, and basic theming.

Frequently Asked Questions about mantine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a React project with Mantine v7?

To set up a React project with Mantine v7, install the necessary packages and configure PostCSS. This skill guides you through adding core libraries and preparing your build environment for UI development.

How do I handle complex form validation in React using Mantine?

Complex form validation in Mantine is handled using the @mantine/form hook. This skill covers advanced patterns including managing nested objects, array fields, and implementing validation rules for business applications.

What is the correct way to apply CSS Modules styling in Mantine v7?

CSS Modules styling in Mantine v7 is applied using the classNames and style props on components. This skill details the correct usage of these props to ensure styles are properly scoped and applied to your UI elements.

Does Mantine v7 still support the sx prop for component styling?

Mantine v7 removes support for the sx prop, emphasizing CSS variables and CSS Modules instead. This skill helps you transition to the updated styling system to apply custom styles to your components.

Can I use Mantine to build layouts with modals and AppShell for internal applications?

Yes, Mantine supports building internal applications using AppShell layouts and modals. This skill explains essential hooks and common implementation patterns for integrating forms within modals and structuring your dashboard.