@imaginario27/air-ui-ds
v1.0.12
Published
A modular Design System and UI component library built for Vue and Nuxt. It provides a scalable architecture for building consistent interfaces, theme management, and reusable components powered by Tailwind CSS and TypeScript.
Readme
@imaginario27/air-ui-ds
A modular Design System and UI component library built for Vue and Nuxt. It provides a scalable architecture for building consistent interfaces, theme management, and reusable components powered by Tailwind CSS and TypeScript.
Documentation: https://air-ui.netlify.app/
Features
- Vue and Nuxt compatibility
- Design System tokens for colors, spacing, typography, and themes
- Reusable and typed UI components
- Light and dark theme system with automatic CSS variable generation
- Tailwind CSS latest version integration
- Auto-import support for components and composables in Nuxt
- Utilities for i18n, file uploads, images, PDF generation, and QR codes
- Full testing setup with Vitest, Vue Test Utils, and Nuxt Test Utils
Installation
Install using npm:
npm install @imaginario27/air-ui-dsUsing pnpm:
pnpm add @imaginario27/air-ui-dsUsing yarn:
yarn add @imaginario27/air-ui-dsTheme Generation
You can generate theme tokens and CSS variables using the built-in script:
npm run generate-themeThis regenerates the theme files used by Tailwind CSS and the Design System.
Testing
This package includes a complete testing environment using:
- Vitest
- Vue Test Utils
- Nuxt Test Utils
- Happy DOM
Run the tests with:
npm run test