Getting started
Add Numior UI to a Vue 3.5+ app built with Vite. Nuxt takes different steps, covered in SSR and Nuxt.
Installation
Install the package
sh pnpm add @numior/kitThe package holds every component and module, and a module such as
@numior/kit/tablereaches the bundle only when the app imports it.Until 1.0 the packages ship as alphas numbered
1.0.0-alpha.N, and the API still changes between them.Add the Vite plugin
The plugin brings in Tailwind 4 and keeps in the CSS only the styles of the components your code uses:
ts import vue from '@vitejs/plugin-vue';import { numior } from '@numior/kit/vite';import { defineConfig } from 'vite';export default defineConfig({ plugins: [vue(), numior()],});Import the styles
Add Tailwind and Numior UI to the CSS file of the app, for example
src/style.css:css @import 'tailwindcss';@import '@numior/kit/tailwind/theme.css';@import '@numior/kit/styles.css';Import the CSS and the Vue plugin
The
createNuiConfigplugin sets the language of built-in labels, and Configuration covers the rest of its options:ts import { createApp } from 'vue';import { createNuiConfig } from '@numior/kit';import App from './App.vue';import './style.css';createApp(App) .use(createNuiConfig({ locale: 'en-US' })) .mount('#app');Use the components
Import components from
@numior/kitand use them in a template:
Next
- Tailwind — how the styles are built and how to set up the theme.
- Button — the button with a live configurator and the full API.
- Theming — light and dark schemes, accents and density.
- Localization — dictionaries and translations of built-in labels.