# Aphalitical UI

UI Libraries based on [Alphalitical Design System](https://www.figma.com/file/hEbtTGwJS8eTqFM29O5Pl3/Alpha-Design-System?node-id=722%3A5334)

## Install

### Using package manager

Just install like this:

```bash
npm install alphalitical-ui
# or yarn
yarn add alphalitical-ui
```

### Use locally

first you need to clone this project with this command:

```bash
git clone git@source.alphalitical.io:syahril/alphalitical-ui.git
```

go to `alphalitical-ui` directory then install required dependency with this command:

```bash
npm install
# or yarn
yarn
```

and then, compile the lib with this command:

```bash
npm run compile
# or yarn
yarn compile
```

after it's compiled, then you can go ahead to add this lib to your dependency with this command:

```bash
npm install /<clone-directory>/alphalitical-ui
# or yarn
yarn add file:<clone-directory>/alphalitical-ui
```

_Note: Remember to recompile after pull_
