# @fluentui/style-utilities

> Styling helpers for Fluent UI React.

Latest version **8.15.2** (published 2026-06-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @fluentui/style-utilities
pnpm add @fluentui/style-utilities
yarn add @fluentui/style-utilities
bun add @fluentui/style-utilities
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 8.15.2 |
| Published | 2026-06-30 |
| First published | 2020-10-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 887.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20273 |
| Maintainers | chrisdholt, miroslavstastny, levithomason, uifabricteam, uifrnbot, layershifter, justslone, microsoft1es, sopranopillow |

## Links

- npm: https://www.npmjs.com/package/@fluentui/style-utilities
- Repository: https://github.com/microsoft/fluentui
- Homepage: https://github.com/microsoft/fluentui#readme
- Issues: https://github.com/microsoft/fluentui/issues
- npm.io page: https://npm.io/package/@fluentui/style-utilities

## Dependencies (6)

- [tslib](https://npm.io/package/tslib.md) ^2.1.0
- [@fluentui/theme](https://npm.io/package/@fluentui/theme.md) ^2.7.2
- [@fluentui/utilities](https://npm.io/package/@fluentui/utilities.md) ^8.17.2
- [@fluentui/set-version](https://npm.io/package/@fluentui/set-version.md) ^8.2.24
- [@fluentui/merge-styles](https://npm.io/package/@fluentui/merge-styles.md) ^8.6.14
- [@microsoft/load-themed-styles](https://npm.io/package/@microsoft/load-themed-styles.md) ^1.10.26

## Recent versions

- 8.15.2 (latest) — 2026-06-30
- 7.25.1 (lts-7) — 2022-10-31
- 8.0.0-beta.19 (beta) — 2021-02-22
- 8.15.1 — 2026-05-11
- 8.15.0 — 2026-02-26
- 8.14.0 — 2026-01-27
- 8.13.6 — 2025-12-10
- 8.13.5 — 2025-11-26
- 8.13.4 — 2025-11-11
- 8.13.3 — 2025-10-23
- 8.13.2 — 2025-10-16
- 8.13.1 — 2025-10-14
- 8.13.0 — 2025-10-09
- 8.12.4 — 2025-08-26
- 8.12.3 — 2025-08-14
- … 141 more at https://npm.io/package/@fluentui/style-utilities/versions

## README

# @fluentui/style-utilities

**Styling helpers for [Fluent UI React](https://developer.microsoft.com/en-us/fluentui)**
([formerly Office UI Fabric React](https://developer.microsoft.com/en-us/office/blogs/ui-fabric-is-evolving-into-fluent-ui/))

## Using this package

Integrating components into your project depends heavily on your setup. The recommended setup is to use a bundler such as webpack which can resolve NPM package imports in your code and can bundle the specific things you import.

If you're using `@fluentui/react`, the `@fluentui/style-utilities` package contents are re-exported under `@fluentui/react/lib/Styling`. It's recommended to access the package this way rather than via a direct dependency.

In a project which doesn't use `@fluentui/react`, you can still install this package as a dependency:

```
npm install --save @fluentui/style-utilities
```

This gives you access to styling-related constants, utilities, and Fabric Core style classes through JavaScript.

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