Skip to content

Latest commit

 

History

History
81 lines (57 loc) · 2.98 KB

README.md

File metadata and controls

81 lines (57 loc) · 2.98 KB

Fluent-Windows logo

Fluent-Windows

React components that inspired by Microsoft's Fluent Design System.

npm CircleCI codecov GitHub Code style lerna

English | 简体中文

Installation

Install the package in your project directory with:

// with npm
npm install @fluent-windows/core

// with yarn
yarn add @fluent-windows/core

Usage

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'));

Edit basic-demo

Documentation

Check out our documentation website.

Changelog

Recently Updated? Please read the changelog.

Links

License

This project is licensed under the terms of the MIT license.