# @primeuix/styles

> Styles utilities for PrimeUI Libraries

Latest version **3.0.0** (published 2026-07-15) · SEE LICENSE IN LICENSE.md license · 0 weekly downloads

## Install

```sh
npm install @primeuix/styles
pnpm add @primeuix/styles
yarn add @primeuix/styles
bun add @primeuix/styles
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2026-07-15 |
| First published | 2025-01-24 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 477 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | PrimeTek Informatics |
| Maintainers | mert.sincan, cagatay.civici |
| Keywords | styles, css, style utilities, primeng, primereact, primevue, primeuix |

## Links

- npm: https://www.npmjs.com/package/@primeuix/styles
- Issues: https://support.primeui.dev
- npm.io page: https://npm.io/package/@primeuix/styles

## Dependencies (1)

- [@primeuix/styled](https://npm.io/package/@primeuix/styled.md) ^1.0.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2026-07-15
- 3.0.0-rc.3 — 2026-07-15
- 3.0.0-rc.2 — 2026-07-15
- 3.0.0-rc.1 — 2026-06-28
- 3.0.0-beta.1 — 2026-06-25
- 3.0.0-alpha.13 — 2026-06-15
- 3.0.0-alpha.12 — 2026-06-03
- 3.0.0-alpha.11 — 2026-06-01
- 3.0.0-alpha.10 — 2026-05-22
- 3.0.0-alpha.9 — 2026-05-22
- 3.0.0-alpha.8 — 2026-05-21
- 3.0.0-alpha.7 — 2026-05-21
- 3.0.0-alpha.6 — 2026-05-20
- 3.0.0-alpha.5 — 2026-05-18
- 3.0.0-alpha.4 — 2026-05-14
- … 29 more at https://npm.io/package/@primeuix/styles/versions

## README

# PrimeUIX Styles

Component CSS for PrimeUI libraries. Each of the ~95 components has its own entry exporting a `style` tagged template string. All themeable values reference design tokens via `dt('token.path')` with no hard-coded colors, spacing, or radii. The `@primeuix/styled` runtime resolves those references against the active preset and injects the resulting CSS into the document.

```ts
import { ButtonStyle } from '@primeuix/styles';
// or per-component:
import { style } from '@primeuix/styles/button';
```

CSS classes follow the `.p-` prefix convention with BEM-style modifiers:

```css
.p-button { ... }
.p-button-outlined { ... }
.p-button-sm { ... }
.p-button:not(:disabled):hover { ... }
```

Changing a token value in the active preset re-themes every component that reads it, no per-component changes needed.

## License

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

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