wakeb-components
Twenty-one typed Vue 3 components, extracted for reuse with Vuetify 3:
WTruncatedText, WSegmentedProgress, WSemiCircleGauge, WAvatarStack, WLoading, WPageSkeleton, WVerticalSteps, WButton, WBadge, WAccordion, WBadgeStack, WUserBadge, WTooltipBtn, WTabs, WTree, WDropdown, WCarousel, WExportDropdown, WBaseSidebar, WModal and WDrawer.
Documentation · العربية
Installation
Install the public npm package in your Vue application:
npm install wakeb-components@0.7.0
Use Vue 3.5+ and Vuetify 3.13.2+, and keep your existing Vuetify plugin setup.
Import styles once in the application entry:
import 'vuetify/styles'
import 'wakeb-components/style.css'
<script setup lang="ts">
import { WTruncatedText, WSegmentedProgress, WSemiCircleGauge } from 'wakeb-components'
</script>
<template>
<WTruncatedText label="A shared foundation for every team" :length="20" />
<WSegmentedProgress :value="65" label="65%" />
<WSemiCircleGauge :value="75" label="75%" sub-label="Quality" />
</template>
Named exports support normal Vite tree shaking. Vue and Vuetify are external
peer dependencies. Wakeb Utils 0.1.1 is the only runtime dependency.
Customize with props, slots, DOM attributes and namespaced CSS variables.
No store, router, application alias, application tokens or global service is required.
Vuetify icon values use your existing icon set/font. Icon slots let you supply your own SVG or company icon component. No icon dependency is bundled.
Verification
Use Node 22.14+ and run npm ci then npm run check. The check builds the
ESM library and declarations, runs actual Vuetify/SSR tests, installs a packed
archive in an isolated Vite consumer, checks types, builds browser and server
consumers, and builds bilingual VitePress documentation.
This is an ESM library for Vue bundlers. Vite SSR consumers bundle this package
and Vuetify using ssr.noExternal; see the SSR guide. It is not a plain Node
CommonJS library.
Automated verification and documentation publication use Jervis DevOps.
The production output is docs/.vitepress/dist at wakeb-components.surge.sh.
Scope
Version 0.7.0 covers twenty-one display, action and disclosure components. Tables, forms, routing and permissions remain in their current packages/application
until their separate contracts are reviewed.
License
MIT. See LICENSE.
WModal and WDrawer provide dialog and temporary drawer shells with typed models, explicit loading slots and no form, router or permission dependency. Use a Vuetify layout provider (normally VApp) for WDrawer. See the bilingual overlay examples and native behavior limits in the docs.