React components that inspired by Microsoft's Fluent Design System.
English | 简体ä¸æ–‡
Install the package in your project directory with:
// with npm
npm install @fluent-ui/core
// with yarn
yarn add @fluent-ui/core
Here is a quick example to get you started.
import React from 'react';
import ReactDOM from 'react-dom';
import Button from '@fluent-ui/core/Button';
import ThemeProvider from '@fluent-ui/core/ThemeProvider';
function App() {
return (
<ThemeProvider>
<Button variant="primary">
Hello World
</Button>
</ThemeProvider>
);
}
ReactDOM.render(<App />, document.querySelector('#root'));
Check out our documentation website.
Recently Updated? Please read the changelog.
This project is licensed under the terms of the MIT license.