@thenormvg/maya-ui
v1.0.4
Published
A premium, highly customizable Vue & Nuxt component library.
Maintainers
Readme
Why Maya UI?
Maya UI is not just another utility-based component library. It is designed to be highly opinionated on motion and structure but completely unopinionated on styling mechanisms.
- State-of-the-art Motion — Fluid, spring-based interactions on buttons, switches, toggles, and modals.
- Pure CSS Tokens — No Tailwind config overhead. The theme strictly relies on standard CSS variables (
var(--maya-bg-surface)). - Nuxt Auto-Imports — Zero repetitive
importstatements.MayaBtn,MayaDialog,MayaToasterare automatically available. - Semantic Intent — Built-in
success,warning,danger, andinfointents across all interactive elements. - Cinematic Theme Toggling — Uses the native Document View Transition API for instant, buttery-smooth light/dark mode circular reveals.
Installation
Install the library using your preferred package manager:
pnpm add -D @thenormvg/maya-uiAdd the module to your nuxt.config.ts:
export default defineNuxtConfig({
modules: ['@thenormvg/maya-ui'],
})You're done! All components prefixing with Maya are now accessible in your .vue files.
Component Ecosystem
Maya UI includes over 40 distinct components grouped by functionality, all following the exact same aesthetic language.
Controls & Inputs
MayaBtn,MayaToggle,MayaToggleGroup,MayaSwitchMayaInput,MayaTextarea,MayaNumberField,MayaInputOtpMayaCheckbox,MayaRadio,MayaSelect,MayaComboboxMayaDateChooser
Layouts & Containers
MayaCard,MayaPreviewCard,MayaCarousel,MayaBadge,MayaAvatar,MayaTableMayaAccordion,MayaCollapsibleMayaField,MayaLabel,MayaFieldsetMayaScrollArea,MayaResizable,MayaSheet(Drawer)
Navigation & Menus
MayaBreadcrumb,MayaMenubar,MayaSidebar,MayaTopbarMayaDropdownMenu,MayaContextMenu,MayaCommand
Feedback & Overlays
MayaAlert,MayaAlertDialog,MayaDialog,MayaBannerMayaPopover,MayaHoverCard,MayaTooltipMayaToast,MayaSonner(Stackable notifications wrapper)MayaSpinner,MayaSkeleton,MayaPixelLoader,MayaDotOrbit
Code Documentation
MayaCodeBlock,MayaInlineCode,MayaPreviewCode,MayaProse
Built-in Agent Skill
Maya UI ships with a first-class AI Agent skill inside the skills/maya-ui directory.
If you use AI coding assistants (like Claude, Gemini, or custom agents), you can give them access to this folder. It provides a highly optimized, token-efficient reference of the entire 90+ component library, all design tokens, and best practices.
Instead of hallucinating props or importing components manually, your agent will write perfect Maya UI code out of the box.
Theming & Customization
Maya UI relies purely on native CSS custom properties. By default, it injects a highly tuned maya.css stylesheet, but overriding it is as simple as defining root variables in your project.
:root {
/* Core Colors */
--maya-bg-root: #09090b;
--maya-text-primary: #ededed;
/* Accent Theming */
--maya-accent: #6366f1;
--maya-accent-hover: #818cf8;
--maya-accent-text: #ffffff;
/* Form & Radius */
--maya-radius-md: 8px;
--maya-radius-full: 9999px;
/* Typography */
--maya-font-sans: "Inter", "Geist", sans-serif;
--maya-font-mono: "Fira Code", monospace;
}Local Development Playground
Maya UI features a beautifully crafted playground mapped to the actual documentation UI.
# Install dependencies
pnpm install
# Generate Nuxt definitions
pnpm run dev:prepare
# Start playground
pnpm run devNavigate to http://localhost:3000 to interact with all the components live in the browser.
License
MIT © 2026
