---
title: 快速上手
type: api
order: 2
---

## 使用npm安装
``` bash
npm install fruit-ui
```

## 使用组件
``` js
import {Button} from 'fruit-ui';
ReactDOM.render(<Button />, node);
```

## 浏览器引入
在index.html中，引入f-ui.css
``` js
import 'dist/fruit-ui.css'; 
```

