An open API service indexing awesome lists of open source software.

https://github.com/trabeeteam/trabee-ui

🎨 Starter template for design system.
https://github.com/trabeeteam/trabee-ui

component library react rollup storybook styled-components typescript

Last synced: 2 months ago
JSON representation

🎨 Starter template for design system.

Awesome Lists containing this project

README

          



npm


MIT


docs

# Trabee Design System

A react based ui components.

We created to help our team get started with creating their own react component library using:

- [React](https://reactjs.org/)
- [Rollup](https://rollupjs.org/guide/en/)
- [TypeScript](https://www.typescriptlang.org/)
- [Styled-Components](https://styled-components.com/)

It also features:

- [Storybook](https://storybook.js.org/)
- [Jest](https://jestjs.io/)

## Install

```
npm install --save @trabee/ui
```

## Development

### Building

```
npm run build
```

### Storybook

To run a live-reload storybook server on your local machine:

```
npm run storybook
```

To export your storybook as static files:

```
npm run storybook:build
```

Also, can deploy to gh-pages:

```
npm run storybook:deploy
```

## Usage

```tsx
import React from "react";
import { MotionButton } from "@trabee/ui";

const Example = () => (
console.log("Hello Trabee")} />
);

export default Example;
```