@sentropic/design-system-vue
@sentropic/design-system-vue
Vue 3 implementation of the Sentropic design-system component catalog. The package ships ESM JavaScript, TypeScript declarations, and the shared component CSS.
Installation
npm install @sentropic/design-system-vue @sentropic/design-system-themes
Vue 3 is a peer dependency:
npm install vue
Usage
Import the package CSS once at the app or preview boundary, then render components inside ThemeProvider.
<script setup>
import { Button, Card, ThemeProvider } from "@sentropic/design-system-vue";
import "@sentropic/design-system-vue/styles.css";
</script>
<template>
<ThemeProvider>
<Card>
<strong>Release plan</strong>
<Button>Open plan</Button>
</Card>
</ThemeProvider>
</template>
ThemeProvider defaults to the Sent Tech theme. Tenant themes can be supplied from @sentropic/design-system-themes, @sentropic/design-system-theme-dsfr, @sentropic/design-system-theme-canada, or @sentropic/design-system-theme-quebec.
<script setup>
import { ThemeProvider } from "@sentropic/design-system-vue";
import { dsfrTheme } from "@sentropic/design-system-theme-dsfr";
</script>
<template>
<ThemeProvider :theme="dsfrTheme">
<!-- your content -->
</ThemeProvider>
</template>
Exports
@sentropic/design-system-vue: all public Vue components and TypeScript props.@sentropic/design-system-vue/styles.css: component CSS consumed by every theme.
The package includes declarations through dist/index.d.ts and marks dist/styles.css as a side effect so bundlers keep the stylesheet import.
Build
npm --workspace @sentropic/design-system-vue run build
npm --workspace @sentropic/design-system-vue run test
Publishing is handled by .github/workflows/vue-publish.yml with a vue-v* tag.
Related Packages
Vue 3 adapter for @sentropic/dataviz-core, built on @sentropic/design-system-vue...
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.38.0 | ^3 | MIT | |
| 0.37.0 | ^3 | ||
| 0.36.59 | ^3 | ||
| 0.36.58 | ^3 | ||
| 0.36.57 | ^3 | ||
| 0.36.56 | ^3 | ||
| 0.36.55 | ^3 | ||
| 0.36.54 | ^3 | ||
| 0.36.53 | ^3 | ||
| 0.36.52 | ^3 | ||
| 0.36.51 | ^3 | ||
| 0.36.49 | ^3 | ||
| 0.36.48 | ^3 | ||
| 0.36.47 | ^3 | ||
| 0.36.46 | ^3 | ||
| 0.36.45 | ^3 | ||
| 0.36.44 | ^3 | ||
| 0.36.43 | ^3 | ||
| 0.36.42 | ^3 | ||
| 0.36.41 | ^3 | ||
| 0.36.40 | ^3 | ||
| 0.36.39 | ^3 | ||
| 0.36.38 | ^3 | ||
| 0.36.36 | ^3 | ||
| 0.36.35 | ^3 | ||
| 0.36.34 | ^3 | ||
| 0.36.33 | ^3 | ||
| 0.36.32 | ^3 | ||
| 0.36.31 | ^3 | ||
| 0.36.30 | ^3 |
Showing the latest 30 of 81. See every release on npm