clui-vue

Vue 3 design-system components, tokens, and theme helpers (extracted for reuse).
5,018
Install
npm install clui-vue
Latest Version:0.6.0
Vue:3
License:MIT
Last Updated:Jul 1, 2026
Links: GitHub  ·  npm
Maintainer: mateo.me

clui-vue

Vue 3 component library: buttons, form controls, modals, toasts, tokens, and theme utilities.

Install

pnpm add clui-vue
# or npm / yarn

Peer dependency: vue ^3.5.

App setup

Register the plugin (globally registers Ui* components) and import built-in styles.

// main.ts
import 'clui-vue/style.css'
import { createApp } from 'vue'
import CluiVue from 'clui-vue'
import App from './App.vue'

const app = createApp(App)
app.use(CluiVue)
app.mount('#app')

Importing from clui-vue also applies the default theme (via data-theme on document.documentElement) and reads/writes the current theme in localStorage under the key app-theme. To customize theme, use the exported useTheme() and isDarkTheme().

Icons

UiIcon and all icon props use Google Material Symbols (rounded) by ligature name in snake_case:

<UiIcon name="check_circle" />
<UiButton icon="arrow_back">Back</UiButton>

Find icon names at fonts.google.com/icons.

Sass tokens and theme

package.json exports SCSS entry points so you can use design tokens in your own components:

@use 'clui-vue/tokens' as *;
// or @use 'clui-vue/theme' for CSS variables (light/dark) built from tokens

For a full page base layer (resets, Material Symbols font import, scrollbar, body, theme variables), use the optional styles/base export in your app shell:

@use 'clui-vue/styles/base' as *;

Your Vite (or other) Sass config must be able to resolve node_modules (default in Vite).

License

MIT

Related Packages

@vue/theme

The VitePress theme for vuejs.org.

78,682 278
vitepress-carbon

Theme for VitePress documentation.

50,939 115
tchds

TCH Design System

3,508
@overtrue/easywechat-theme

Theme for easywechat.com based on @vuejs/theme

398 2
@63pokupki/design-system

UI component kit and design-system for 63 Pokupki project

32,580 5

Version History

Version Released Vue License
0.6.0 ^3.5.0 MIT
0.5.0 ^3.5.0 MIT
0.4.8 ^3.5.0 MIT
0.4.7 ^3.5.0 MIT
0.4.6 ^3.5.0 MIT