@maxnate-ui/base
v0.0.12
Published
Foundational components, composables, and utilities for Maxnate UI — shared across all surface packages.
Readme
@maxnate-ui/base
Foundational components, composables, and utilities for Maxnate UI — shared across all surface packages.
npm install @maxnate-ui/baseExports
| Import path | Contents |
|---|---|
| @maxnate-ui/base | Main entry — utilities, types |
| @maxnate-ui/base/types | TypeScript type definitions |
| @maxnate-ui/base/composables | Vue composables |
| @maxnate-ui/base/components | Vue components |
Key Composables
| Composable | Description |
|---|---|
| useThemeMode | Light/dark/system theme management |
| useMediaUrl | Media URL resolution with API base |
| useFormValidation | Form validation helpers |
| useFileUpload | File upload with progress tracking |
| useFocusTrap | Accessibility focus management |
Key Components
| Component | Description |
|---|---|
| Avatar | User avatar with fallback |
| ActionLink | Button/link hybrid component |
| ThemeToggle | Light/dark/system mode switcher |
| MediaPicker | Image/video selection component |
| NotificationBell | Notification indicator |
Requirements
- Nuxt >= 4.0.0
- Vue ^3.5.0
License
MIT
