@sobagu/vue
v0.1.2
Published
Sobagu CSS for Vue 3: Box, Stack, Grid, Text and the v-sb directive
Maintainers
Readme
@sobagu/vue
Sobagu for Vue 3: Box, Stack, Grid and Text components with the same style props as the
React package, plus a v-sb directive to style any element without a wrapper.
Install
npm i @sobagu/vueNeeds Vue 3.3 or newer. @sobagu/core is installed with it.
Usage
// main.ts
import { createApp } from 'vue'
import { Sobagu } from '@sobagu/vue'
import App from './App.vue'
createApp(App).use(Sobagu).mount('#app') // registers Box, Stack, Grid, Text and v-sb<template>
<Box card :hover="{ shadow: 'lg' }">
<Text size="lg" weight="bold">Hello</Text>
<p v-sb="{ color: 'muted', mt: 'sm' }">Vue + Sobagu</p>
</Box>
</template>Docs
Sobagu is in 0.x: the API can still change between minor versions.
Licence
MIT © 2026 Sobagu contributors
