@agala-labs/ui
Agala Labs UI
Agala Labs UI is a Vue 3 component system with scoped CSS, semantic HSL design tokens, accessible interaction patterns, and an optional ECharts companion package.
Packages
@agala-labs/ui— forms, navigation, overlays, data display, layout primitives, tokens, themes, and date utilities.@agala-labs/charts— line, bar, pie, scatter, radar, gauge, and stacked charts powered by Apache ECharts.
Local documentation
npm install
npm run dev
The VitePress site includes getting-started guidance, theming, accessibility, the complete component API catalog, live examples, and the charts gallery.
npm run docs:build
npm run docs:preview
Library development
npm run lint
npm run build:lib
npm run build --workspace @agala-labs/charts
The UI package is ESM and requires Vue >=3.5.0 <4 as a peer dependency. Charts are published separately and depend on echarts and vue-echarts.
Package publication stays local. Build and publish UI first, then charts:
npm run build:lib
npm publish --access public
npm run build --workspace @agala-labs/charts
npm publish --access public --workspace @agala-labs/charts
Deprecate the legacy scope once the new packages are confirmed:
npm deprecate '@el-agala/ui@*' 'Package moved to @agala-labs/ui. Install the new scope for future releases.'
npm deprecate '@el-agala/charts@*' 'Package moved to @agala-labs/charts. Install the new scope for future releases.'
After both versions exist on npm, push v0.32.0 or charts-v0.1.3 to trigger
the only deployment pipeline: it publishes
ghcr.io/agala-labs/ui-docs:<commit-sha> and deploys it to
ui.agala.com.ar. A manual rerun at an earlier commit is deploy-only and rolls
the site back to that already-built immutable image.
Usage
import { createApp } from 'vue'
import { AgalaUI } from '@agala-labs/ui'
import '@agala-labs/ui/reset.css'
import App from './App.vue'
createApp(App).use(AgalaUI).mount('#app')
Optional product themes are shipped as CSS subpaths:
import '@agala-labs/ui/themes/main.css'
document.documentElement.dataset.theme = 'main'
Available selectors are main, smaltt, and kervo.
<script setup lang="ts">
import { BaseChart } from '@agala-labs/charts'
</script>
<template>
<BaseChart
type="line"
:labels="['Jan', 'Feb', 'Mar']"
:datasets="[{ name: 'Revenue', data: [120, 180, 240] }]"
/>
</template>
License
MIT
Related Packages
Agala UI — A zero-dependency Vue 3 component library with atomic design tokens,...
Neo-brutalist Vue 3 component library with light/dark/custom themes, a 12 column...
The design system behind Hikarinagi: Vue 3 components built on Tailwind CSS v4.
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.42.1 | >=3.5.0 <4 | MIT | |
| 0.42.0 | >=3.5.0 <4 | MIT | |
| 0.41.1 | >=3.5.0 <4 | MIT | |
| 0.41.0 | >=3.5.0 <4 | MIT | |
| 0.40.2 | >=3.5.0 <4 | MIT | |
| 0.40.1 | >=3.5.0 <4 | MIT | |
| 0.39.1 | ^3.3.0 | MIT | |
| 0.39.0 | ^3.3.0 | MIT | |
| 0.38.0 | ^3.3.0 | MIT | |
| 0.37.2 | ^3.3.0 | MIT | |
| 0.37.1 | ^3.3.0 | MIT | |
| 0.37.0 | ^3.3.0 | MIT | |
| 0.36.0 | ^3.3.0 | MIT | |
| 0.35.0 | ^3.3.0 | MIT | |
| 0.34.0 | ^3.3.0 | MIT | |
| 0.33.0 | ^3.3.0 | MIT | |
| 0.32.0 | ^3.3.0 | MIT |