@public-ui/vue
KoliBri - Vue-Adapter
Motivation
Provide an adapter for Vue to use the KoliBri components.
Installation
You can install the adapter with npm, pnpm or yarn:
npm i @public-ui/vue
pnpm i @public-ui/vue
yarn add @public-ui/vue
Usage
First, initialize KoliBri with a theme and create a Vue app:
import { createApp } from 'vue';
import { DEFAULT } from '@public-ui/theme-default';
import { defineCustomElements } from '@public-ui/components/loader';
import { register } from '@public-ui/components';
register(DEFAULT, defineCustomElements)
.then(() => {
createApp(App).mount(htmlDivElement);
})
.catch((error) => {
/* Handle errors */
});
Then, you can import any component from @public-ui/vue and render it within your Vue application:
<script setup>
import { KolButton } from '@public-ui/vue';
</script>
<template>
<KolButton _label="Hello World" />
</template>
Find available design tokens in the default theme README.
Related Packages
create-kolibri
The CLI can be used to create various projects based on the KoliBri (@public-ui)...
5,593
288
@aotearoan/neon
Neon is a lightweight design library of Vue 3 components with minimal dependenci...
28,610
24
@storybook/addon-a11y
Storybook Addon A11y: Test UI component compliance with WCAG web accessibility s...
349,763,870
91,335
Version History
| Version | Released | License |
|---|---|---|
| 4.5.0 | EUPL-1.2 | |
| 4.4.0 | EUPL-1.2 | |
| 4.3.0 | EUPL-1.2 | |
| 4.2.1 | EUPL-1.2 | |
| 4.2.0 | EUPL-1.2 | |
| 4.1.4 | EUPL-1.2 | |
| 4.1.3 | EUPL-1.2 | |
| 4.1.2 | EUPL-1.2 | |
| 4.1.1 | EUPL-1.2 | |
| 4.1.0 | EUPL-1.2 | |
| 4.0.3 | EUPL-1.2 | |
| 4.0.2 | EUPL-1.2 | |
| 4.0.1 | EUPL-1.2 | |
| 4.0.0 | EUPL-1.2 | |
| 3.1.5 | EUPL-1.2 | |
| 3.1.4 | EUPL-1.2 | |
| 3.1.3 | EUPL-1.2 | |
| 3.1.2 | EUPL-1.2 | |
| 3.1.1 | EUPL-1.2 | |
| 3.1.0 | EUPL-1.2 | |
| 3.0.9 | EUPL-1.2 | |
| 3.0.8 | EUPL-1.2 | |
| 3.0.7 | EUPL-1.2 | |
| 3.0.6 | EUPL-1.2 | |
| 3.0.5 | EUPL-1.2 | |
| 3.0.4 | EUPL-1.2 | |
| 3.0.3 | EUPL-1.2 | |
| 3.0.2 | EUPL-1.2 | |
| 3.0.1 | EUPL-1.2 | |
| 3.0.0 | EUPL-1.2 |
Showing the latest 30 of 134. See every release on npm
Pre-releases (479)
| Version | Released | License |
|---|---|---|
| 4.5.0-rc.8 | EUPL-1.2 | |
| 4.5.0-rc.7 | EUPL-1.2 | |
| 4.5.0-rc.6 | EUPL-1.2 | |
| 4.5.0-rc.5 | EUPL-1.2 | |
| 4.5.0-rc.4 | EUPL-1.2 | |
| 4.5.0-rc.3 | EUPL-1.2 | |
| 4.5.0-rc.0 | EUPL-1.2 | |
| 4.4.1-7b9d0237557064506ca27572fd67a6d3955cdf19.0 | EUPL-1.2 | |
| 4.4.1-bde9d4afe5ffb980a06192e5a34307404ba14869.0 | EUPL-1.2 | |
| 4.4.0-rc.0 | EUPL-1.2 | |
| 4.3.1-rc.5 | EUPL-1.2 | |
| 4.3.1-rc.4 | EUPL-1.2 | |
| 4.3.1-rc.1 | EUPL-1.2 | |
| 4.3.1-rc.0 | EUPL-1.2 | |
| 4.3.0-rc.9 | EUPL-1.2 | |
| 4.3.0-rc.8 | EUPL-1.2 | |
| 4.3.0-rc.7 | EUPL-1.2 | |
| 4.3.0-rc.6 | EUPL-1.2 | |
| 4.3.0-rc.5 | EUPL-1.2 | |
| 4.3.0-rc.4 | EUPL-1.2 | |
| 4.3.0-rc.3 | EUPL-1.2 | |
| 4.3.0-rc.2 | EUPL-1.2 | |
| 4.3.0-rc.1 | EUPL-1.2 | |
| 4.3.0-rc.0 | EUPL-1.2 | |
| 4.3.0-7d39177cbbeda0fe95a8af67121ab15d774ecb9a.0 | EUPL-1.2 | |
| 4.3.0-1cea5c014f28c37a067d2ecd282424ecb1c45020.0 | EUPL-1.2 | |
| 4.3.0-eaefd783e9d97c472268da4315134409fd7f67e7.0 | EUPL-1.2 | |
| 4.3.0-4ee0734eadda2c69344a4386b7d580fd54e4ddca.0 | EUPL-1.2 | |
| 4.3.0-6b7da4bddf027746325d57eb51fe47bf6781fe48.0 | EUPL-1.2 | |
| 4.3.0-5ff3b32c180b51835a308a5c5df86e277ffe0e18.0 | EUPL-1.2 |
Showing the latest 30 of 479. See every release on npm