1.2.9 • Published 4 years ago

composite-ui v1.2.9

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

COMPOSITE UI

A modular, intuitive, and design system first React component library. Built on top of Emotion and Styled System.

CircleCI

Docs: https://composite-ui.com/docs/getting-started

Installation

// with npm
npm install composite-ui

// with yarn
yarn add composite-ui

Add the Emotion peer dependencies if not already installed:

// with npm
npm install @emotion/core @emotion/styled

// with yarn
yarn add @emotion/core @emotion/styled

Usage

import React from 'react';
import { ThemeProvider, baseTheme, Button } from 'composite-ui'; // ... or use a custom theme

function App() {
  return <Button variant="primary">Click me</Button>;
}

ReactDOM.render(
  <ThemeProvider theme={baseTheme}>
    <App />
  </ThemeProvider>,
  document.getElementById('root')
);
1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago