A standalone components library for Vue.Js 3 & Nuxt.Js 3
npm install maz-ui
Lightweight and efficient library for Vue & Nuxt

Example of a dashboard built with Maz UI components
- ๐ฏ Cherry-pick components - Use only what you need
- ๐ Dark mode - Built-in dark mode support
- ๐จ Themeable - Easy to customize with CSS variables
- ๐ฑ Responsive - Mobile-first design approach
- ๐ง TypeScript - Full type support included
- โก๏ธ Lightweight - Tree-shakeable, no bloat
- ๐ SSR - Server-side rendering ready
``bash`
npm install maz-ui
`ts
// main.ts
import { mazUi } from '@maz-ui/themes/presets'
import { fr } from '@maz-ui/translations'
import { MazUi } from 'maz-ui/plugins/maz-ui'
import 'maz-ui/styles'
const app = createApp(App)
app.use(MazUi, {
theme: {
preset: mazUi,
},
translations: {
messages: {
fr,
},
},
})
`
#### ๐ก Usage
Then, import and use only the components, composables, and more you need:
`vue
`
Use provided resolvers to enjoy auto-imports and TypeScript support: Resolvers documentation
The Nuxt module automatically:
- Imports all components, plugins, composables and directives on-demand (auto-imports)
- Includes required styles
- Provides TypeScript support out of the box
See options and more in the documentation
`ts`
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@maz-ui/nuxt'],
})
#### ๐ก Usage
No need to import components, plugins, composables or directives, they are all auto-imported.
`vue
Click me!
`
Customize Maz UI to match your brand with our dedicated CLI tool:
`bashInstall the CLI
npm install -g @maz-ui/cli
The CLI will automatically:
- Generate all color variations
- Create dark mode variables
- Output a ready-to-use CSS file
To know how configure the CLI, check theming options in our documentation.
๐งฐ What's included?
- ๐งฉ Components - Beautiful, accessible UI components
- ๐ Plugins - Powerful plugins for common use cases
- ๐ฃ Composables - Reusable composition functions
- ๐ Directives - Useful Vue directives
- ๐ ๏ธ Helpers - Useful utilities for common tasks
Icons
Maz UI provides a comprehensive set of beautiful icons (300+) ready-to-use for Vue applications, based on the amazing Heroicons set. All icons are optimized as Vue components with full TypeScript support.
$3
Please refer to [](https://maz-ui.com/guide/icons)
$3
`bash
npm install @maz-ui/icons
`$3
Import the icons you need from the package:
`vue
``> Note: Icons are asynchronous Vue components optimized for tree-shaking. Only imported icons will be included in your final bundle.
We're always looking for contributors! Check out our contribution guide to get started.