React UI Component Library
A community-maintained continuation of the MIT-licensed PrimeReact v10 component library.
Documentation · npm · Releases · Issues · Discussions · Discord · Open Collective
Mantle UI is an independent, community-maintained React UI component library based on the MIT-licensed PrimeReact v10 codebase.
The project exists to provide PrimeReact v10 users with a stable, open-source path forward. Mantle UI preserves the familiar component APIs and development model while continuing maintenance, bug fixes, accessibility improvements, documentation, and compatibility work in the open.
Mantle UI is not affiliated with PrimeTek, PrimeReact, or ngrok.
Install Mantle UI using your preferred package manager:
npm install @mantle-ui/react
pnpm add @mantle-ui/react
yarn add @mantle-ui/react
bun add @mantle-ui/react
Components can be imported individually:
import { Button } from '@mantle-ui/react/button';
export default function Example() {
return <Button label="Mantle UI" />;
}
See the documentation for component examples, APIs, theming, and configuration.
Mantle UI includes a migration CLI that rewrites source imports from primereact to @mantle-ui/react.
The migration only updates source imports. It does not modify package.json or lockfiles.
npm install @mantle-ui/react
Run the migration in dry-run mode first:
npm exec mantleui migrate -- --dry-run
npm exec mantleui migrate
The CLI is also available with pnpm and Yarn:
pnpm exec mantleui migrate
yarn mantleui migrate
You can also run it directly without installing the package first:
npx --package @mantle-ui/react mantleui migrate
To migrate a different project directory:
npm exec mantleui migrate -- --dir ./my-app
After running the CLI, review the generated changes and test your application before deploying them.
Mantle UI supports styled and unstyled usage.
Import a theme and the core Mantle UI stylesheet:
import '@mantle-ui/react/resources/themes/lara-light-cyan/theme.css';
import '@mantle-ui/react/resources/mantle-ui-react.css';
Unstyled mode allows components to be used without the default component styling. It can be enabled globally through the Mantle UI context.
See the theming documentation for details.
Mantle UI is under active community development.
The current focus is on:
Please review the latest releases before adopting Mantle UI in production.
Before opening an issue:
Use GitHub Issues for reproducible bugs and clearly defined implementation tasks.
For usage questions, ideas, feedback, and general conversation, use GitHub Discussions or join our Discord community.
Contributions are welcome.
You can help by:
Before starting substantial work, please open or join an issue so the proposed approach can be discussed.
Please read CONTRIBUTING.md for development setup, contribution guidelines, and the pull request process.
Mantle UI is developed and maintained by the community.
Financial support helps fund ongoing development, maintenance, bug fixes, accessibility impro
v11: Separate runtime theming from static component styles
https://github.com/Mantle-UI/mantle-ui/issues/492
Labels: breaking-change
CSS layers: rename the legacy primereact layer to mantle
https://github.com/Mantle-UI/mantle-ui/issues/443
Labels: bug, breaking-change
Tree/TreeTable: Virtual Scroller
https://github.com/Mantle-UI/mantle-ui/issues/406
Labels: enhancement
Replace QuillJs with TipTap
https://github.com/Mantle-UI/mantle-ui/issues/397
Labels: enhancement, dependencies
DataTable: Misaligned columns when using frozen columns and multiSort
https://github.com/Mantle-UI/mantle-ui/issues/379
Labels: bug
DataTable - Multiple sort won't work when any column has a sortFunction defined.
https://github.com/Mantle-UI/mantle-ui/issues/359
Labels: bug
Core: Right To Left (RTL) Support
https://github.com/Mantle-UI/mantle-ui/issues/332
Labels: enhancement
Mantle UI is an independent community-maintained React component library continued from the MIT-licensed PrimeReact v10 codebase.
Mantle UI is not affiliated with PrimeTek, PrimeReact, or ngrok.
Thank you for contributing. This document explains how contributions are reviewed and the terms under which they are accepted.
By submitting a contribution to Mantle UI, you confirm that:
By submitting a pull request, patch, issue attachment, or other material intended for inclusion in the project, you agree that your contribution may be used, modified, distributed, and relicensed by downstream users under the repository's MIT license.
This project does not require a separate Contributor License Agreement.
Contributions are welcome for:
Before starting larger work, open an issue or discussion so the approach can be reviewed before implementation begins.
Pull requests may be reviewed for correctness, maintainability, API impact, documentation impact, accessibility, and consistency with the project direction. Not every contribution will be merged.
CODING_STANDARDS.md.DEVELOPMENT.md when working on the
library itself.Mantle UI is distributed under the MIT license. Contributions accepted into the repository become part of that MIT-licensed codebase.
Mantle UI remains a continuation of the MIT-licensed PrimeReact v10 codebase. Upstream copyright and license notices must be preserved where required by the MIT license.
Be respectful, direct, and constructive in issues, discussions, and pull requests. Technical disagreement is normal; personal attacks are not.