# @primereact/core

> Core components for PrimeReact.

Latest version **11.1.0** (published 2026-08-05) · SEE LICENSE IN LICENSE.md license · 0 weekly downloads

## Install

```sh
npm install @primereact/core
pnpm add @primereact/core
yarn add @primereact/core
bun add @primereact/core
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 11.1.0 |
| Published | 2026-08-05 |
| First published | 2025-06-30 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 226.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | PrimeTek Informatics |
| Maintainers | mert.sincan, cagatay.civici |

## Links

- npm: https://www.npmjs.com/package/@primereact/core
- Homepage: https://primereact.dev
- Issues: https://support.primeui.dev
- npm.io page: https://npm.io/package/@primereact/core

## Dependencies (7)

- [@primeuix/utils](https://npm.io/package/@primeuix/utils.md) ^0.8.0
- [@primeuix/locale](https://npm.io/package/@primeuix/locale.md) ^0.1.0
- [@primeuix/motion](https://npm.io/package/@primeuix/motion.md) ^1.0.0
- [@primeuix/styled](https://npm.io/package/@primeuix/styled.md) ^1.0.0
- [@primereact/hooks](https://npm.io/package/@primereact/hooks.md) 11.1.0
- [@primereact/types](https://npm.io/package/@primereact/types.md) 11.1.0
- [@primeui/license-manager](https://npm.io/package/@primeui/license-manager.md) ^1.0.0

## Recent versions

- 11.1.0 (latest) — 2026-08-05
- 11.0.0 — 2026-07-15
- 11.0.0-rc.4 — 2026-07-15
- 11.0.0-rc.3 — 2026-07-15
- 11.0.0-rc.2 — 2026-07-08
- 11.0.0-rc.1 — 2026-06-28
- 11.0.0-alpha.10 — 2026-02-11
- 11.0.0-alpha.9 — 2025-12-18
- 11.0.0-alpha.8 — 2025-12-01
- 11.0.0-alpha.7 — 2025-10-16
- 11.0.0-alpha.6 — 2025-10-06
- 11.0.0-alpha.5 — 2025-08-28
- 11.0.0-alpha.4 — 2025-07-31
- 11.0.0-alpha.3 — 2025-07-24
- 11.0.0-alpha.2 — 2025-07-14
- … 1 more at https://npm.io/package/@primereact/core/versions

## README

[![Cover](https://fqjltiegiezfetthbags.supabase.co/storage/v1/object/public/common.images/npm/primereact-npm.jpg)](https://primereact.dev)

# @primereact/core

Shared infrastructure for PrimeReact: global configuration, theming, locale, Pass Through, the stylesheet runtime and the base component system every PrimeReact component is built on.

The package is installed indirectly, since `primereact`, `@primereact/ui` and `@primereact/headless` all depend on it. It is imported directly for one thing above all: `PrimeReactProvider`.

## Usage

Every PrimeReact mode wraps the application once with `PrimeReactProvider`. What it takes depends on the mode: a theme preset and a [PrimeUI license](https://primeui.dev/pricing) key for styled components, nothing at all for primitives and headless hooks.

```tsx
'use client';
import { PrimeReactProvider } from '@primereact/core';
import Aura from '@primeuix/themes/aura';

export function Providers({ children }: { children: React.ReactNode }) {
    return (
        <PrimeReactProvider theme={{ preset: Aura }} license="PrimeUI-Commercial-Key...">
            {children}
        </PrimeReactProvider>
    );
}
```

The resolved configuration is readable anywhere below the provider through `usePrimeReact`, `useLocale` and `useTheme`.

Server-side rendering needs a `PrimeReactStyleSheet` passed to the provider. The [installation guides](https://primereact.dev/docs/styled/guides/installation) cover the per-framework setup.

## Documentation

- [Installation](https://primereact.dev/docs/styled/guides/installation)
- [Pass Through](https://primereact.dev/docs/styled/guides/theming/unstyled)
- [MCP server](https://www.npmjs.com/package/@primereact/mcp)

## License

Licensed under the [PrimeUI License](https://primeui.dev/licenses) - Copyright (c) [PrimeTek Informatics](https://www.primetek.com.tr)

---
_Source: https://npm.io/package/@primereact/core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
