@open-hotel/pixel

Pixel UI is a Vue.js based lib that implements Habbo UI components. It is being designed for [Open Hotel](https://github.com/open-hotel/open-hotel-client).

Usage no npm install needed!

<script type="module">
  import openHotelPixel from 'https://cdn.skypack.dev/@open-hotel/pixel';
</script>

README

Pixel UI

Pixel UI is a Vue.js based lib that implements Habbo UI components. It is being designed for Open Hotel.

Check out the demo.

It is still an on-going project, so contributions are more than welcomed!

Install

yarn add @open-hotel/pixel
# or
npm install @open-hotel/pixel

Usage

You can install all the UI components

import { PixelUI } from '@open-hotel/pixel'
import Vue from 'vue'

Vue.use(PixelUI)

Or use them separetely

// MyComponent.vue
import { Button as PxBtn } from '@open-hotel/pixel'

export default {
  components: {
    PxBtn
  }
}