resin-components

Resin Components Component

WARNING: This project has been renamed to rendition. Install using rendition instead.
Last updated 2 years ago by resin.io .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install resin-components 
SYNC missed versions from official npm registry.

Resin Components

Build Status

A collection of resin.io UI components, built using React, recompose, styled-components and styled-system.

Usage

You can import react components directly into your project:

import React from 'react';
import { Button, Box } from 'resin-components';

const Example = () => {
  return (
    <Box my={3} className="example-button-wrapper">
      <Button primary emphasized>Click me</Button>
    </Box>
  )
};

export default Example;

Provider

Wrap your application in the <Provider> component so that child components can correctly inherit the resin theme. You can optionally provide your own theme.

Styled system

All components support styled-system attributes, allowing you to use fontSize, color, px etc.

UI Components

For an interactive demo of all components, see https://resin-io-modules.github.io/resin-components

Developing

Clone this repository and then run:

npm install

The interactive storybook can be launched by running:

npm run storybook

Code is automatically linted and formatted by Husky as a pre-commit hook.

The interactive storybook can be published by running:

npm run publish-storybook

Testing

npm test

Current Tags

  • 2.16.6                                ...           latest (2 years ago)

107 Versions

  • 2.16.6 [deprecated]           ...           2 years ago
  • 2.16.5                                ...           2 years ago
  • 2.16.4                                ...           2 years ago
  • 2.16.3                                ...           2 years ago
  • 2.16.2                                ...           2 years ago
  • 2.16.1                                ...           2 years ago
  • 2.16.0                                ...           2 years ago
  • 2.15.1                                ...           2 years ago
  • 2.15.0                                ...           2 years ago
  • 2.14.1                                ...           2 years ago
  • 2.14.0                                ...           2 years ago
  • 2.13.6                                ...           2 years ago
  • 2.13.5                                ...           2 years ago
  • 2.13.4                                ...           2 years ago
  • 2.13.3                                ...           2 years ago
  • 2.13.2                                ...           2 years ago
  • 2.13.1                                ...           2 years ago
  • 2.13.0                                ...           2 years ago
  • 2.12.0                                ...           2 years ago
  • 2.11.2                                ...           2 years ago
  • 2.11.1                                ...           2 years ago
  • 2.11.0                                ...           2 years ago
  • 2.10.0                                ...           2 years ago
  • 2.9.1                                ...           2 years ago
  • 2.9.0                                ...           2 years ago
  • 2.8.0                                ...           2 years ago
  • 2.7.1                                ...           2 years ago
  • 2.7.0                                ...           2 years ago
  • 2.6.0                                ...           2 years ago
  • 2.5.3                                ...           2 years ago
  • 2.5.2                                ...           2 years ago
  • 2.5.1                                ...           2 years ago
  • 2.5.0                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.3.5                                ...           2 years ago
  • 2.3.4                                ...           2 years ago
  • 2.3.3                                ...           2 years ago
  • 2.3.2                                ...           2 years ago
  • 2.3.1                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.4                                ...           2 years ago
  • 2.2.3                                ...           2 years ago
  • 2.2.2                                ...           2 years ago
  • 2.2.1                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.21.3                                ...           2 years ago
  • 1.21.2                                ...           2 years ago
  • 1.21.1                                ...           2 years ago
  • 1.21.0                                ...           2 years ago
  • 1.20.2                                ...           2 years ago
  • 1.20.1                                ...           2 years ago
  • 1.20.0                                ...           2 years ago
  • 1.19.0                                ...           2 years ago
  • 1.18.0                                ...           2 years ago
  • 1.17.0                                ...           2 years ago
  • 1.16.0                                ...           2 years ago
  • 1.15.1                                ...           2 years ago
  • 1.15.0                                ...           2 years ago
  • 1.14.3                                ...           2 years ago
  • 1.14.1                                ...           2 years ago
  • 1.14.0                                ...           2 years ago
  • 1.13.0                                ...           2 years ago
  • 1.12.0                                ...           2 years ago
  • 1.11.0                                ...           2 years ago
  • 1.10.7                                ...           2 years ago
  • 1.10.6                                ...           2 years ago
  • 1.10.5                                ...           2 years ago
  • 1.10.4                                ...           2 years ago
  • 1.10.3                                ...           2 years ago
  • 1.10.2                                ...           2 years ago
  • 1.10.1                                ...           2 years ago
  • 1.10.0                                ...           2 years ago
  • 1.9.4                                ...           2 years ago
  • 1.9.3                                ...           2 years ago
  • 1.9.2                                ...           2 years ago
  • 1.9.1                                ...           2 years ago
  • 1.9.0                                ...           2 years ago
  • 1.8.2                                ...           2 years ago
  • 1.8.1                                ...           2 years ago
  • 1.8.0                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.6.6                                ...           2 years ago
  • 1.6.5                                ...           2 years ago
  • 1.6.4                                ...           2 years ago
  • 1.6.3                                ...           2 years ago
  • 1.6.2                                ...           2 years ago
  • 1.6.1                                ...           2 years ago
  • 1.6.0                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.7                                ...           2 years ago
  • 1.3.6                                ...           2 years ago
  • 1.3.5                                ...           2 years ago
  • 1.3.4                                ...           2 years ago
  • 1.3.3                                ...           2 years ago
  • 1.2.5                                ...           2 years ago
  • 1.2.4                                ...           2 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
  • 0.0.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (23)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |