Stardust

React component library based on Semantic UI.
npm i stardust -S
Learn
Check out the Documentation.
Review our [Component Guidelines]
(https://github.com/TechnologyAdvice/stardust/blob/master/docs/app/Component Guidelines.md).
Getting Started
Hey, we're in development. Minor versions may introduce breaking changes until v1.
Babel
Stardust is built with ES6 and ES7. Use Babel with the stage 0 option to enable these features. We suggest using a .babelrc file, which is also picked up by the webpack babel-loader.
Usage
ES6
import React, {Component} from 'react';
import {Button} from 'stardust';
export default class TryStardust extends Component {
render() {
return <Button>Hello</Button>;
}
}
ES5
var React = require('react');
var stardust = require('stardust');
var Button = stardust.Button;
var TryStardust = React.createClass({
render: function() {
return <Button>Make it happen!</Button>;
}
});
module.exports = TryStardust;
Develop
git clone git@github.com:TechnologyAdvice/stardust.git
npm install
gulp
Commands
npm run # list npm commands
gulp help # list gulp commands
Deploying
npm version <version> # bump the new version
npm run deploy # pushes tags and publishes package