https://github.com/fluent-org/fluent-windows
🌈 React components that inspired by Microsoft's Fluent Design System.
https://github.com/fluent-org/fluent-windows
fluent-design microsoft-fluent react react-component react-components react-hooks reactjs
Last synced: 5 months ago
JSON representation
🌈 React components that inspired by Microsoft's Fluent Design System.
- Host: GitHub
- URL: https://github.com/fluent-org/fluent-windows
- Owner: fluent-org
- License: mit
- Created: 2019-07-14T10:33:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-26T16:03:23.000Z (about 2 years ago)
- Last Synced: 2024-11-13T06:09:40.920Z (5 months ago)
- Topics: fluent-design, microsoft-fluent, react, react-component, react-components, react-hooks, reactjs
- Language: TypeScript
- Homepage: https://fluent-windows.com
- Size: 10.5 MB
- Stars: 123
- Watchers: 1
- Forks: 8
- Open Issues: 14
-
Metadata Files:
- Readme: README-zh_CN.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-react-cn - fluent-ui
README
一套受 [Microsoft's Fluent Design System](https://www.microsoft.com/design/fluent/) 启发的 [React](https://reactjs.org/) 组件库。
[](https://www.npmjs.com/package/@fluent-windows/core)
[](https://circleci.com/gh/fluent-org/fluent-windows/tree/master)
[](https://codecov.io/gh/fluent-org/fluent-windows)
[](https://github.com/fluent-org/fluent-windows/blob/master/LICENSE)

[](https://lerna.js.org/)[English](https://github.com/fluent-org/fluent-windows/blob/master/README.md) | 简体中文
## 安装
使用以下命令安装在项目目录中:
```
// with npm
npm install @fluent-windows/core// with yarn
yarn add @fluent-windows/core
```## 用法
这是一个快速入门的示例。
```jsx
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 (
Hello World
);
}ReactDOM.render(, document.querySelector('#root'));
```[](https://codesandbox.io/s/basic-demo-l79to)
## 文档
查看我们的[文档网站](https://fluent-windows.com)。
## 更新日志
查看最近更新的内容请看 [changelog](https://github.com/fluent-org/fluent-windows/blob/master/CHANGELOG.md).
## 链接
- [Fluent-Windows-Icons](https://github.com/fluent-org/fluent-windows/blob/master/packages/fluent-windows-icons/README.md) - [示例/文档](https://fluent-windows.com/components/icon)
- [Fluent-Windows-Hooks](https://github.com/fluent-org/fluent-windows/blob/master/packages/fluent-windows-hooks/README.md) - [示例/文档](https://fluent-windows.com/hooks/guide)
- [Fluent-Windows-Styles](https://github.com/fluent-org/fluent-windows/blob/master/packages/fluent-windows-styles/README.md)## License
该项目遵循 [MIT license](https://github.com/fluent-org/fluent-windows/blob/master/LICENSE).