Download the example or clone the repo:
npx degit microsoft/fluentui/starter-templates/src/react-components-vite
cd react-components-vite
Install it and run:
npm install
npm run dev
or:
This example uses Vite.js.
It includes @fluentui/react-components
and its peer dependencies, including @fluentui/react-icons
.
You now have a working example project. To continue, you can explore the FluentUI React documentation for more information and advanced usage.