vue-smart-ui
Vue Smart UI
A collection of Vue 3 UI components — customizable, accessible, and themeable via CSS variables.
Documentation & live demos: https://vuesmartui.edgarimai.com/
All component APIs, examples, theming guides, and changelogs are available on the documentation site.
Install
npm install vue-smart-ui
# or
yarn add vue-smart-ui
# or
pnpm add vue-smart-ui
Quick start
- Import styles once (required):
import 'vue-smart-ui/style.css'
- Prefer named imports (tree-shakable):
import { BaseButton, BaseInput } from 'vue-smart-ui'
<template>
<BaseButton variant="primary">Click me</BaseButton>
</template>
- Or register all components globally:
import { createApp } from 'vue'
import VueSmartUI from 'vue-smart-ui'
import App from './App.vue'
createApp(App).use(VueSmartUI).mount('#app')
Tree-shaking
Named ESM imports are tree-shakable: unused components are dropped from your JS bundle by modern bundlers (Vite, Rollup, webpack, esbuild).
- Use
import { BaseButton } from 'vue-smart-ui' - Avoid
app.use(VueSmartUI)if you want unused components removed - Styles are shipped as a single stylesheet (
vue-smart-ui/style.css) and are not tree-shaken
Theming
Override --vsui-* CSS variables before importing vue-smart-ui/style.css.
Full theming guide: https://vuesmartui.edgarimai.com/theming
License
MIT
Related Packages
@jasonshimmy/vite-plugin-cer-app
Nuxt-style meta-framework for @jasonshimmy/custom-elements-runtime
10,097
0
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.8.5 | ^3.5.13 | MIT | |
| 0.8.4 | ^3.5.13 | MIT | |
| 0.8.3 | ^3.5.13 | MIT | |
| 0.8.2 | ^3.5.13 | MIT | |
| 0.8.1 | ^3.5.13 | MIT | |
| 0.8.0 | ^3.5.13 | MIT | |
| 0.7.4 | ^3.5.13 | MIT | |
| 0.7.3 | ^3.5.13 | MIT | |
| 0.7.2 | ^3.5.13 | MIT | |
| 0.7.1 | ^3.5.13 | MIT | |
| 0.7.0 | ^3.5.13 | MIT | |
| 0.6.2 | ^3.5.13 | MIT | |
| 0.6.1 | ^3.5.13 | MIT | |
| 0.6.0 | ^3.5.13 | MIT | |
| 0.5.5 | ^3.5.13 | MIT | |
| 0.5.4 | ^3.5.13 | MIT | |
| 0.5.3 | ^3.5.13 | MIT | |
| 0.5.2 | ^3.5.13 | MIT | |
| 0.5.1 | ^3.5.13 | MIT | |
| 0.5.0 | ^3.5.13 | MIT | |
| 0.4.1 | ^3.5.13 | MIT | |
| 0.4.0 | ^3.5.13 | MIT | |
| 0.3.4 | ^3.5.13 | MIT | |
| 0.3.3 | ^3.5.13 | MIT | |
| 0.3.1 | ^3.5.13 | MIT | |
| 0.3.0 | ^3.5.13 | MIT | |
| 0.2.1 | ^3.5.13 | MIT | |
| 0.2.0 | ^3.5.13 | MIT | |
| 0.1.8 | ^3.5.13 | MIT | |
| 0.1.7 | ^3.5.13 | MIT |
Showing the latest 30 of 37. See every release on npm
Pre-releases (5)
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.0-beta.4 | ^3.5.13 | MIT | |
| 1.0.0-beta.3 | ^3.5.13 | MIT | |
| 1.0.0-beta.2 | ^3.5.13 | MIT | |
| 1.0.0-beta.1 | ^3.5.13 | MIT | |
| 1.0.0-beta.0 | ^3.5.13 | MIT |