
mantine-dev
Mantine UI library for React: 100+ components, hooks, forms, theming, dark mode, CSS modules, and Vite/TypeScript setup. Use when building React applications with Mantine components, configuring theming/dark mode, or working with Mantine hooks and forms. Keywords: Mantine, React, UI components, CSS modules, theming.
- Installs
- 286
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/itechmeat/llm-code --skill mantine-dev- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads mantine-dev automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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.7 Highlights
- New components:
Tour(step-by-step onboarding with a spotlight overlay, guided and beacon modes),Toolbar(roving-tabindex container with toggle groups and dividers),Toggle(button withactive/onActiveChangestate), andJsonViewer(@mantine/code-highlight: expandable JSON tree with type indicators and copy buttons). @mantine/schedule:DayView/WeekViewgainslotLabelInterval(time labels more often than once per hour, must be a multiple ofintervalMinutes);businessHoursacceptsHH:mmtimes and, inWeekView, a per-day record; business-hour colors are customizable with--day-view-business-hours-bg/--week-view-business-hours-bg;MobileMonthViewgainswithWeekendDays.@mantine/schedule:DayView/WeekViewgaineventOverlapMode('columns'or'cascade') and drop validation (preventEventOverlap,canDropEvent,canResizeEventTo,canDropExternalEvent,onEventPlacementRejected).@mantine/core:ScrollAreagains the--scrollarea-offset-sizeCSS variable (offset gap independent ofscrollbarSize);TooltipgainshideDetached;TreeSelectgainsrenderPill;NotificationsgainswithAutoCloseProgress;CheckboxandRadiogainvariant="light".@mantine/corefixes:Radio,ChipandSwitchreadOnlynow prevents value changes; theSelectonChangeoption argument is typed as nullable;CascadermirrorsArrowLeft/ArrowRightin RTL; searchable inputs accept typing when rendered in another window or an iframe.@mantine/hooksfixes:use-scrollerno longer ignores the click after a drag that ended outside the container;use-event-listenerkeeps the listener when the options object is passed inline;use-throttled-callbackhandles reentrant calls;use-focus-traptraps focus with macOS Full Keyboard Access off.@mantine/chartsfixes the rendering of the right Y axis children;@mantine/tiptapRichTextEditorsupports image upload throughgetUploadImageExtension.
v9.6 Highlights
- New
@mantine/lightboxpackage: full-screen media lightbox with carousel navigation, zoom, thumbnails, video and custom slides, and a store-based API (mount once, open from anywhere, same pattern as Spotlight and Notifications). - New
ActionBarcomponent: a floating selection-action bar that hosts bulk actions for selected items (for example, selected table rows). @mantine/chartsaddsGaugeChart,WaffleChart,MatrixChart, andCandlestickChart; area/bar/line/composite/scatter charts gainreferenceAreasandreferenceDots;AreaChartgainstype="stream";ScatterChartgains a right Y axis.@mantine/tiptapRichTextEditorgains table controls, a collapsibleDetailscontrol, and anInvisibleCharactersformatting-marks control (register the matching Tiptap extensions);Typographynow stylesdetails/summaryelements.NotificationsgainsrenderNotificationto replace the default notification with fully custom content while keeping enter/exit/drag-dismiss animations.@mantine/schedule:ResourcesMonthViewsupports event resizing, time-grid views support configurable drag/resize snap intervals, background events can be interactive, andYearViewgainsrenderDayandwithWeekendDays.Dropzoneupgrades toreact-dropzone20 (partial-acceptmaxFilesbehavior, stricterFileWithPath). Node.js 22 or later is now required (Node 20 reached end of life in April 2026).
v9.5 Highlights
- New
Cascadercomponent: select a value from hierarchical data by drilling down through cascading columns, withchangeOnSelect, hover-to-expand, search, and a flat-list layout for mobile. @mantine/chartsgainsSunburstChart(hierarchical data as concentric rings) andBulletChart(a value against a target and qualitative ranges); the area/bar/line/composite charts addwithBrushfor a draggable range-selector, and every chart component now shipsaccessibilityLayer(arrow-key navigation, Enter for tooltips) enabled by default.- Calendar-based date components gain
withNativeLevelSelect, replacing the calendar header's level button with native<select>elements, paired withyearsSelectRange. Timeline.Itemgainsopposite(content on the other side of the line, switching to a centered two-sided layout) andalternate(flips sides per item);FloatingWindowgains aResizeHandlecompound component with adimensionsprop and keyboard resizing;Modal/DrawergainkeepMountedMode('activity'or'display-none');AccordiongainsdisableCollapseto keep one item always open.@mantine/scheduleResourcesDayView/ResourcesWeekViewacceptintervalMinutesgreater than 60 for multi-hour slot columns.9.5.0fixes anautoClosetimer leak in the notifications container.- The official Vite template replaced ESLint/Prettier/
eslint-config-mantinewithoxlint/oxfmtvia the newoxc-config-mantinepackage (internal tooling migration);eslint-config-mantineremains available for projects that keep ESLint.
v9.4 Highlights
- New components:
ComboboxPopover(low-level popover built on the Combobox engine),DataList(key/value description lists),EmptyState(empty/placeholder screens), andMenubar(desktop-style application menu bar). @mantine/schedulegainsResourcesDayViewandResourcesWeekViewfor resource-grouped scheduling layouts.9.4.1patch fixes:@mantine/formcompatibility with the React compiler, Heatmap rendering, and assorted component fixes.
v9.3 Highlights
- New
Splittercomponent (withuse-splitterhook): declarative resizable split-pane layout with horizontal/vertical orientation, collapsible panes, and keyboard navigation.Splitter.Panemust be a direct child ofSplitter. - New component props:
Paginationgainslayout="responsive"(CSS container queries),Text/BlockquotegaintextWrap,CodeHighlightgainswithLineNumbers,OverflowListgainscollapseFrom("start"/"end"),TextareagainsbottomSection(character counters), and the Combobox family (Select,MultiSelect,Autocomplete,TagsInput) supportsfloatingHeight="viewport". DateInputgainspresetsfor quick value selection;Menu.Subsupports controlled open state.9.3.1patch fixes: notification DOM cleanup on close,CollapsekeepMounted,SegmentedControlindicator radius,PinInputplaceholder centering,Treearrow-key navigation skipping hidden nodes,MaskInputwith uncontrolleduse-form, and stableuse-idunder anActivitywrapper.
v9.2.2 Highlights
- Accessibility fixes landed across selection controls and sliders:
Checkbox,Radio, andSwitchnow wire error ids intoaria-describedby, whileSliderandRangeSlidersupportaria-valuetext. - Overlay/input behavior was refined with submenu safe polygon support, duplicate modal-id fixes, PinInput keyboard fixes, and ScrollArea/TreeSelect interaction fixes.
- Patch fixes in
9.2.2coverPilloverflow,Inputsections under localdiroverrides,Selectclear buttons for falsy primitive values, Modal/Drawer/Spotlight attribute types, and saferMenu.Subsafe-area polygon option forwarding. @mantine/hooksuse-masknow preserves undo and cursor position across paste/cut flows, and@mantine/tiptapcontrols avoid errors after the editor is destroyed or not initialized.- Forms and theming were hardened:
@mantine/formhandlers are more stable, default validators no longer force async results unexpectedly, andmergeMantineThemeno longer mutatesDEFAULT_THEME.headings. @mantine/schedulecontinues to mature with better multi-day overlap rendering and corrected positioning forintervalMinutes={60}.
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
- Oxlint/Oxfmt (
oxc-config-mantine) for linting and formatting, matching the current official Vite template; ESLint (eslint-config-mantine) remains a supported alternative
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
- components.md — Core UI components patterns
- hooks.md — @mantine/hooks utility hooks
- forms.md — @mantine/form, useForm, validation
- schedule.md — @mantine/schedule calendar scheduling
Development
- testing.md — Vitest setup, custom render, mocking
- eslint.md — Oxlint/Oxfmt (oxc-config-mantine) setup, plus legacy eslint-config-mantine option
Links
FAQ
What does the mantine-dev skill do?
Mantine UI library for React: 100+ components, hooks, forms, theming, dark mode, CSS modules, and Vite/TypeScript setup. Use when building React applications with Mantine components, configuring theming/dark mode, or working with Mantine hooks and forms. Keywords: Mantine, React, UI components, CSS modules, theming.
How do I install mantine-dev?
Run npx skills add https://github.com/itechmeat/llm-code --skill mantine-dev in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/mantine-dev/ (personal) or .claude/skills/mantine-dev/ (project).
Which AI agents can use mantine-dev?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is mantine-dev safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains mantine-dev?
It is published by itechmeat in itechmeat/llm-code. It has 286 recorded installs.
More from itechmeat/llm-code
react-testing-library
itechmeat/llm-code
React Testing Library: user-centric component testing with queries, user-event simulation, async utilities, and accessibility-first API. Use when writing React component tests, selecting elements by role/label/text, simulating user events, or testing async UI behavior. Keywords: React Testing Library, @testing-library/react, user-event, queries, render.
openspec
itechmeat/llm-code
OpenSpec artifact-driven workflow. Covers OPSX commands, schemas, project config. Use when applying the artifact-driven workflow (OPSX), planning or reviewing changes based on artifact dependencies, or working with OPSX commands and schema/template resolution. Keywords: OPSX, artifact graph, /opsx:.
social-writer
itechmeat/llm-code
Open the skill to read its SKILL.md instructions.
base-ui
itechmeat/llm-code
Base UI unstyled React components. Covers forms, menus, overlays, composition. Use when building accessible, unstyled React UI components with @base-ui/react, composing with render props, or implementing custom-styled form controls, menus, and overlays. Keywords: @base-ui/react, render props, unstyled components.
refine-dev
itechmeat/llm-code
Open the skill to read its SKILL.md instructions.
vitest
itechmeat/llm-code
Vitest testing framework: Vite-powered tests, Jest-compatible API, mocking, snapshots, coverage, browser mode, and TypeScript support. Use when writing or configuring tests with Vitest, setting up mocking/snapshots, configuring coverage, or running browser-mode tests. Keywords: Vitest, testing, Vite, Jest, mocking, coverage.
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.