@neptune.fintech/vue-ui
v2.0.1
Published
Neptune Odyssey Vue 3 layer — typed wrappers, a theme provider, and a composable over the framework-agnostic web kit.
Downloads
579
Readme
@neptune.fintech/vue-ui
Vue 3 layer for Neptune Odyssey by Neptune.Fintech — typed
component wrappers, a <NeptuneProvider>, and a useNeptuneTheme composable over the
framework-agnostic @neptune.fintech/web-ui custom-element core.
Source-available under the Neptune Odyssey Community License v1.0 (see
LICENSE).
Install
pnpm add @neptune.fintech/vue-ui vueTell Vue that npt-* tags are custom elements (so it doesn't try to resolve them):
// vite.config.ts
vue({ template: { compilerOptions: { isCustomElement: (t) => t.startsWith("npt-") } } });Use
<script setup lang="ts">
import "@neptune.fintech/vue-ui/styles.css";
import { NeptuneProvider, NptBalanceCard, NptButton } from "@neptune.fintech/vue-ui";
</script>
<template>
<NeptuneProvider theme="triton" mode="system" dir="auto">
<NptBalanceCard hero label="Available balance" amount="12,480.50" currency="LYD" />
<NptButton variant="filled">New transfer</NptButton>
</NeptuneProvider>
</template>theme accepts a reference brand id, a config object, or a brandprint string —
same surface everywhere. mode is light|dark|system; dir is ltr|rtl|auto.
© 2026 Neptune.Fintech. The bundled example brands are reference illustrations only.
