mantine-dev

itechmeat/llm-code · updated Apr 8, 2026

$npx skills add https://github.com/itechmeat/llm-code --skill mantine-dev
0 commentsdiscussion
summary

Mantine is a fully-featured React components library with TypeScript support. It provides 100+ hooks and components with native dark mode, CSS-in-JS via CSS modules, and excellent accessibility.

skill.md

Mantine UI Library

Mantine is a fully-featured React components library with TypeScript support. It provides 100+ hooks and components with native dark mode, CSS-in-JS via CSS modules, and excellent accessibility.

v9.0 Breaking Changes

  • React 19.2+ required for all @mantine/* packages
  • Tiptap 3+ required for @mantine/tiptap
  • Recharts 3+ required for @mantine/charts (no migration needed)
  • Follow the official 8.x → 9.x migration guide for full details

Focus

This skill focuses on:

  • Vite + TypeScript setup (not Next.js or CRA)
  • CSS modules with PostCSS preset
  • Vitest for testing
  • ESLint with eslint-config-mantine

Installation

See references/getting-started.md for Vite template setup, manual installation, and optional packages.

PostCSS Configuration

Create postcss.config.cjs:

module.exports = {
  plugins: {
    "postcss-preset-mantine": {},
    "postcss-simple-vars": {
      variables: {
        "mantine-breakpoint-xs": "36em",
        "mantine-breakpoint-sm": "48em",
        "mantine-breakpoint-md": "62em",
        "mantine-breakpoint-lg": "75em",
        "mantine-breakpoint-xl": "88em",
      },
    },
  },
};

App Setup

// src/App.tsx
import "@mantine/core/styles.css";
// Other style imports as needed:
// import '@mantine/dates/styles.css';
// import '@mantine/notifications/styles.css';

import { MantineProvider, createTheme } from "@mantine/core";

const theme = createTheme({
  // Theme customization here
});

function App() {
  return <MantineProvider theme={theme}>{/* Your app */}</MantineProvider>;
}

Critical Prohibitions

  • Do NOT skip MantineProvider wrapper — all components require it
  • Do NOT forget to import @mantine/core/styles.css — components won't style without it
  • Do NOT mix Mantine with other UI libraries (e.g., Chakra, MUI) in same project
  • Do NOT use inline styles for theme values — use CSS variables or theme object
  • Do NOT skip PostCSS setup — responsive mixins won't work
  • Do NOT forget key={form.key('path')} when using uncontrolled forms

Core Concepts

1. MantineProvider

Wraps your app, provides theme context and color scheme management.

2. Theme Object

Customize colors, typography, spacing, component default props.

3. Style Props

All components accept style props like mt, p, c, bg, etc.

4. CSS Variables

All theme values exposed as CSS variables (e.g., --mantine-color-blue-6).

5. Polymorphic Components

Many components support component prop to render as different elements.

Definition of Done

  • MantineProvider wraps the app
  • Styles imported (@mantine/core/styles.css)
  • PostCSS configured with mantine-preset
  • Theme customization in createTheme
  • Color scheme (light/dark) handled
  • TypeScript types working
  • Tests pass with Vitest + custom render

References (Detailed Guides)

Setup & Configuration

  • getting-started.md — Installation, Vite setup, project structure
  • styling.md — MantineProvider, theme, CSS modules, style props, dark mode

Core Features

Development

  • testing.md — Vitest setup, custom render, mocking
  • eslint.md — eslint-config-mantine setup

Links

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.843 reviews
  • Kiara Abebe· Dec 28, 2024

    Solid pick for teams standardizing on skills: mantine-dev is focused, and the summary matches what you get after install.

  • Chaitanya Patil· Dec 12, 2024

    mantine-dev fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Yusuf Yang· Dec 12, 2024

    mantine-dev has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Michael Anderson· Dec 12, 2024

    mantine-dev is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Camila Dixit· Dec 12, 2024

    Keeps context tight: mantine-dev is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Diya Farah· Dec 4, 2024

    Registry listing for mantine-dev matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Camila Desai· Nov 23, 2024

    Useful defaults in mantine-dev — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Piyush G· Nov 3, 2024

    mantine-dev is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Hassan Rao· Nov 3, 2024

    mantine-dev fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Tariq Farah· Nov 3, 2024

    We added mantine-dev from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

showing 1-10 of 43

1 / 5