Skip to content

Files

Latest commit

b5fa2f0 · Feb 21, 2025

History

History
This branch is 5 commits behind microsoft/fluentui:master.

react-components

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 18, 2024
Feb 11, 2025
Dec 21, 2022
Feb 17, 2025
Feb 17, 2025
Mar 21, 2023
Apr 26, 2022
Apr 26, 2022
Mar 21, 2023
Feb 21, 2025
Feb 21, 2025
Apr 26, 2022
Oct 24, 2022
Jul 26, 2024
Feb 21, 2025
Nov 4, 2024
May 28, 2024
Nov 15, 2022
Apr 26, 2022

@fluentui/react-components

Converged Fluent UI React components

This is a suite package for converged components and related utilities. It is a result of a dedupe effort for @fluentui/react and @fluentui/react-northstar.

Usage

Add @fluentui/react-components to a project:

yarn add @fluentui/react-components

To use a component, add a FluentProvider with a theme close to the root of your application and then instantiate components inside the provider's subtree:

import React from 'react';
import ReactDOM from 'react-dom';
import { FluentProvider, teamsLightTheme, Button } from '@fluentui/react-components';

ReactDOM.render(
  <FluentProvider theme={teamsLightTheme}>
    <Button appearance="primary">I am a button.</Button>
  </FluentProvider>,
  document.getElementById('root'),
);

Docs

Docs are hosted at https://react.fluentui.dev/.