# Repository: mantinedev/mantine # Stars: 31022 ## CLAUDE.md # CLAUDE.md ## Links - Testing guidelines – `llms/testing.md` ## Finalizing Your Work Choose these commands to run after finalizing your work: ```bash # Always run these commands before finalizing your work npm run typecheck npx oxlint path/to/changed/files npm run format:write:files path/to/changed/files # Run tests for specific path related to your changes npm run jest @mantine/charts npm run jest path/to/changed/file.test.ts # Run stylelint only if you have made changes to styles or CSS files npm run stylelint # Run this script if you've changed dependencies in any package.json npm run syncpack ``` After running the commands above, check if `codex` CLI is available (`command -v codex`). If it is, run `/codex-code-review` to get an automated code review of unstaged changes and apply fixes. ## Code Style **Comments Guidelines:** - **Do not include inline comments** that describe logic or implementation details unless explicitly requested - **Always preserve documentation comments** on interfaces, types, and function parameters (JSDoc-style comments with `/** */`) - The codebase prefers clean, self-documenting code for implementation - Type definitions and public APIs should maintain their documentation comments ## Commit conventions Mantine is a monorepo, thus it is important to write correct commit messages to keep the git history clean and consistent. All commits made in this repository are divided into 3 groups: - package commits – Related to any particular package. - docs commits – Related to the documentation. - core commits – Only related to repository tooling and not associated with any package. Commit messages consists of 3 parts: ``` [area] Optional title: Message ``` Examples: - `[core] Fix documentation deployment script` – Change made in repository script, it is not related to documentation or any package - `[mantine.dev] Update report issues link` – Change related to documentation website - `[@mantine/core] Button: Add theme focus styles` – Change in @mantine/core package at Button component - `[@mantine/hooks] use-list-state: Add remove handler` – Change in @mantine/hooks package at use-list-state hook ## README.md
# Mantine [](https://github.com/mantinedev/mantine/blob/master/LICENSE) [](https://opencollective.com/mantinedev) [](https://github.com/mantinedev/mantine/graphs/contributors) [](https://www.npmjs.com/package/@mantine/core) [](https://www.npmjs.com/package/@mantine/hooks) [](https://github.com/mantinedev/mantine/labels/help%20wanted) [](https://discord.gg/wbH82zuWMN) [](https://x.com/mantinedev) ## Links - [Documentation](https://mantine.dev/) - [Contribute](https://mantine.dev/contribute) - [Ask question or give feedback](https://github.com/mantinedev/mantine/discussions) - [Changelog](https://mantine.dev/changelog/all-releases) - [Follow on X](https://x.com/mantinedev) - [Join Discord community](https://discord.gg/wbH82zuWMN) ## Packages - [`@mantine/hooks`](https://mantine.dev/hooks/package/) – collection of 80+ hooks for state and UI management - [`@mantine/core`](https://mantine.dev/core/package/) – core components library – 100+ components - [`@mantine/form`](https://mantine.dev/form/use-form) – forms management library - [`@mantine/charts`](https://mantine.dev/charts/getting-started/) – recharts based charts library - [`@mantine/notifications`](https://mantine.dev/x/notifications) – a fully featured notifications system - [`@mantine/spotlight`](https://mantine.dev/x/spotlight) – `Ctrl + K` command center for your application - [`@mantine/code-highlight`](https://mantine.dev/x/code-highlight/) – code highlight built with [highlight.js](https://highlightjs.org/) - [`@mantine/tiptap`](https://mantine.dev/x/tiptap) – a Tiptap based rich text editor - [`@mantine/dropzone`](https://mantine.dev/x/dropzone) – manages files drag 'n' drop to an area or entire screen - [`@mantine/carousel`](https://mantine.dev/x/carousel) – Carousel component - [`@mantine/nprogress`](https://mantine.dev/x/nprogress) – navigation progress - [`@mantine/modals`](https://mantine.dev/x/modals) – centralized modals manager - [`@mantine/schedule`](https://mantine.dev/x/schedule) – Schedule component for displaying events ## Getting help Mantine has a very friendly community, we are always happy to help you get started: - [Join Discord community](https://discord.gg/wbH82zuWMN) – it is the easiest way to get help, all questions are usually answered in about 30 minutes - [GitHub Discussions](https://github.com/mantinedev/mantine/discussions) – ask anything about the project or give feedback ## Contributors