React components that inspired by Microsoft's Fluent Design System.
English | 简体中文
Install the package in your project directory with:
// with npm
npm install @fluent-windows/core
// with yarn
yarn add @fluent-windows/core
Here is a quick example to get you started.
import React from 'react';
import ReactDOM from 'react-dom';
import Button from '@fluent-windows/core/Button';
import ThemeProvider from '@fluent-windows/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.