React-Ribbon is a set of React components that implement partial specification of Microsoft's Windows Ribbon Framework.
Here is the Demo.
- react: ^15.3.2
- react-dom: ^15.3.2
- classnames: ^2.2.5
- visionmedia-debug: ^2.2.0
-
Install package via npm
-
Install
npm install --save https://github.com/yiskang/react-ribbon.git
-
Import module in your code
import ReactRibbon from 'react-ribbon'; //OR var ReactRibbon = requrie( 'react-ribbon' );
-
-
Install package via bower
- Install
bower install --save https://github.com/yiskang/react-ribbon.git
- Add module in your code
<script type="text/javascript" src="{module_dir}/dist/bundle.js" /> <link rel="stylesheet" type="text/css" href="{module_dir}/dist/bundle.css" />
// Access library from global // Ribbon component data ReactRibbon.Data // Ribbon component ReactRibbon.*
- Install global node tools
npm install -g gulp-cli
- Clone repository
git clone https://github.com/yiskang/react-ribbon.git
- Install dependencies of node package.
npm install
- Install dependencies of bower package.
bower install
- Run dev server
gulp
Written by Yi-Sheng Kang
See the LICENSE file for license rights and limitations (MIT).