Getting Started
Work in progress / Active development
This library is currently in early / active development.
Installation
Install the npm package with your corresponding package manager:
sh
pnpm add sit-onyx@alpha
sh
npm install sit-onyx@alpha
sh
yarn install sit-onyx@alpha
After that, import the global CSS file:
ts
import "sit-onyx/style.css";
// if you override some onyx styles (e.g. CSS variables),
// make sure to import your custom CSS file after the default "sit-onyx/style.css"
Components are now ready to be used, e.g.:
vue
<script lang="ts" setup>
import { OnyxButton } from "sit-onyx";
</script>
<template>
<OnyxButton label="Click me" />
</template>