0.0.40 • Published 7 months ago

@ubie/ubie-ui v0.0.40

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

Ubie UI (In development)

Ubie UI is a library for distributing components defined in Ubie's design system, Ubie Vitals. It is designed to be implemented in React-based projects.

Components

A list of components can be found on the documentation site. https://vitals.ubie.life/components

Installation

npm install @ubie/ubie-ui

You need to install React and React-DOM as peerDependencies.

npm install react react-dom

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from '@ubie/ubie-ui';

function App() {
  return <Button>Ubie Vitals</Button>;
}

ReactDOM.render(<App />, document.querySelector('#app'));

Development

Creating a new component

You can start creating a new component with the following command:

npm run generate

This command will also update the src/index.ts file (it's called a "Barrel") at the same time.

Example

To add a new component named Button:

? Please select the output destination directory. src
? Please enter a component name. Button

🐶 Generated 3 files!

     āœ” src/components/Button/Button.tsx
     āœ” src/components/Button/Button.module.css
     āœ” src/stories/Button.stories.tsx

> @ubie-inc/ofro-elements@0.0.1 generate:barrel
> node ./scripts/barrel.mjs

     āœ” src/index.ts has been updated

License

Ubie UI is licensed under the Apache Apache License, Version2.0.

0.0.40

7 months ago

0.0.39

8 months ago

0.0.38

9 months ago

0.0.37

10 months ago

0.0.36

10 months ago

0.0.35

11 months ago

0.0.34

11 months ago

0.0.33

12 months ago

0.0.30

1 year ago

0.0.31

1 year ago

0.0.32

12 months ago

0.0.27

1 year ago

0.0.28

1 year ago

0.0.29

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.24

1 year ago

0.0.25

1 year ago

0.0.26

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.12

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

2 years ago