fluentui/packages/style-utilities
Fluent UI Build 2aca49dec6 release: applying package updates - react v8 2024-11-01 07:23:36 +00:00
..
config
etc adding filetype for album object (#33167) 2024-10-31 16:42:29 -07:00
src adding filetype for album object (#33167) 2024-10-31 16:42:29 -07:00
.eslintrc.json
.npmignore
CHANGELOG.json release: applying package updates - react v8 2024-11-01 07:23:36 +00:00
CHANGELOG.md release: applying package updates - react v8 2024-11-01 07:23:36 +00:00
LICENSE
README.md
jest.config.js
just.config.ts
package.json release: applying package updates - react v8 2024-11-01 07:23:36 +00:00
project.json
tsconfig.json

README.md

@fluentui/style-utilities

Styling helpers for Fluent UI React (formerly Office UI Fabric React)

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.