@neoverse-ui/vue
v0.2.0
Published
Vue 3 components for the Neoverse UI design system.
Readme
@neoverse-ui/vue
Vue 3 components for the Neoverse UI design system.
bun add @neoverse-ui/vueimport { UiButton, UiCard, UiDisclosure, UiDock, UiNotice, UiTable, UiTooltipSurface } from '@neoverse-ui/vue';Consumers without their own Tailwind build can import the packaged design-system styles. This entry forwards to the compiled shared consumer bundle, including Tokens, Motion, Material, component selectors, and the utilities required by the adapters:
@import '@neoverse-ui/vue/index.css';UiDock is a public floating-navigation shell built on the shared UiControlSurface contract. Consumers provide their own UiNavigationItem children, route state, icons, and optional trailing controls; the Dock owns chrome, scale, compact layout, divider geometry, and shared navigation-indicator behavior.
Vue >=3.4 <4 is required as a peer dependency. The shared Tailwind, Motion, and Tokens layers are installed through the package dependency graph.
Public components
UiButton, UiIconButton, UiAction, UiBreadcrumb, UiNavigationItem, UiSegmentedControl, UiControlSurface, UiDock, UiSurface, UiCard, UiInput, UiTextarea, UiSelect, UiTable, UiDisclosure, UiBadge, UiStatusIndicator, UiSkeleton, UiScrollbar, UiNotice, UiTooltipSurface, and UiPresence are exported from the package root.
Presence
<script setup lang="ts">
import { UiPresence, presence, staggerStyle } from '@neoverse-ui/vue';
</script>
<UiPresence :show="open" variant="pop" origin="top">Panel content</UiPresence>
<Transition name="nv">
<span v-if="open" v-bind="presence('rise')">Content</span>
</Transition>UiPresence retains its children through the shared exit animation, then unmounts, with a token-based timeout fallback. presence(variant, origin?) binds the shared preset attributes to native Vue transitions; staggerStyle(index, options?) sets entry delays for TransitionGroup name="nv" children. Presets, timing, and reduced-motion behavior belong to @neoverse-ui/motion.
For the complete component API and architecture guidance, see the Neoverse-UI repository.
