dobruniaui-vue
🎨 DobruniaUI for Vue 3
Modern Vue 3 UI component library
DobruniaUI is a comprehensive Vue 3 component library designed with a focus on modern design, performance, and developer experience.
For the always up-to-date generated reference (components, tokens, reusable classes, and named types), use LLM_INSTRUCTIONS.md.
Upgrading from 3.x? See MIGRATION_v3_to_v4.md. Upgrading from 2.x? See MIGRATION_v2_to_v3.md first.
🎮 Demo
Explore all components in the interactive playground →
☕ Support
You can support the development of the library:
UI library for Vue 3.
Install
npm i dobruniaui-vue
Usage
Wrap app UI in dbru-root. Light theme tokens are the default; add a theme class only when you manage the theme manually:
<div class="dbru-root">
<!-- components -->
</div>
import { createApp } from 'vue';
import DobruniaUI from 'dobruniaui-vue';
import 'dobruniaui-vue/styles.css';
const app = createApp(App);
app.use(DobruniaUI);
Or per-component:
import { DbrButton, DbrInput, DbrSelect, DbrTextarea } from 'dobruniaui-vue';
Tree Shaking
Tree shaking is supported for ESM builds. To get the smallest bundle, use named imports instead of the default plugin:
import { DbrButton, DbrInput, DbrSelect, DbrTextarea } from 'dobruniaui-vue';
The package is marked as side‑effect free (except styles.css) so bundlers
can drop unused components.
Using app.use(DobruniaUI) registers all components and will include the full
library in your bundle.
Utilities And Text
Text styling is component-driven. Use DbrText for size, color, weight, line height, alignment, wrapping, and truncation. Global typography utility classes are not part of the API.
Full up-to-date structural class list is generated in LLM_INSTRUCTIONS.md (Reusable Classes From base.css section).
Examples:
<DbrText size="sm">Main text</DbrText>
<DbrText size="xs" color="muted">Meta info</DbrText>
<DbrText size="sm" color="on-primary">Text on primary bg</DbrText>
<div class="dbru-surface">Surface block</div>
<DbrButton variant="primary" size="md">Action</DbrButton>
<DbrButton variant="ghost" size="sm">Cancel</DbrButton>
Design Tokens
Full up-to-date token list is generated in LLM_INSTRUCTIONS.md (Design Tokens From tokens.css section).
Dark theme overrides color tokens via .dbru-theme-dark.
For the full up-to-date list of available theme classes and theme files, see LLM_INSTRUCTIONS.md (Themes section).
Storybook Docs
Storybook is configured with autodocs. Start it with:
npm run storybook
Generate static docs:
npm run build-storybook
Generate one Markdown file with LLM instructions (how LLM should work with this library) and all component props:
npm run docs:llm
Output file: LLM_INSTRUCTIONS.md (root level, next to README.md)
Components
Full up-to-date component list is generated in LLM_INSTRUCTIONS.md (Components And Props section).
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 4.0.1 | ^3.5.29 | ||
| 4.0.0 | ^3.5.29 | ||
| 3.0.1 | ^3.5.29 | ||
| 3.0.0 | ^3.5.29 | ||
| 2.2.3 | ^3.5.29 | ||
| 2.2.2 | ^3.5.29 | ||
| 2.2.1 | ^3.5.29 | ||
| 2.2.0 | ^3.5.29 | ||
| 2.1.3 | ^3.5.29 | ||
| 2.1.2 | ^3.5.29 | ||
| 2.1.1 | ^3.5.29 | ||
| 2.1.0 | ^3.5.29 | ||
| 2.0.6 | ^3.5.29 | ||
| 2.0.5 | ^3.5.29 | ||
| 2.0.4 | ^3.5.29 | ||
| 2.0.3 | ^3.5.29 | ||
| 2.0.2 | ^3.5.29 | ||
| 2.0.1 | ^3.5.29 | ||
| 2.0.0 | ^3.5.29 | ||
| 1.3.1 | ^3.5.29 | ||
| 1.3.0 | ^3.5.29 | ||
| 1.2.1 | ^3.5.29 | ||
| 1.2.0 | ^3.5.29 | ||
| 1.1.3 | ^3.5.29 | ||
| 1.1.2 | ^3.5.29 | ||
| 1.1.1 | ^3.5.29 | ||
| 1.1.0 | ^3.5.29 | ||
| 1.0.1 | ^3.5.29 | ||
| 1.0.0 | ^3.5.29 | ||
| 0.1.0 | ^3.5.29 |