import { CodeSnippet } from '@fluentui/docs-components'; import { Header } from '@fluentui/react-northstar'; import * as React from 'react'; import DocPage from '../components/DocPage'; import GuidesNavigationFooter from '../components/GuidesNavigationFooter'; import { OpenOutsideIcon } from '@fluentui/react-icons-northstar'; export default () => (
Install

Fluent UI should be installed as a dependency of your app.

Setup

Fluent UI components are styled using CSS in JS. This technique requires a style renderer to render JavaScript objects to CSS.{' '} React Context {' '} is used to provide the style renderer and theme to components.

Place a {''} at the root of your app and pass theme as props.

, document.getElementById('root'), ) `} />
Usage

That's it. You can now use Fluent UI components in your app.