@sentropic/design-system-vue

Vue 3 components for the Sentropic design system.
16,337
Install
npm install @sentropic/design-system-vue
Latest Version:0.38.0
Vue:3
License:MIT
Last Updated:Oct 23, 2026
Links: GitHub  ·  npm
Maintainer: rhk

@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

@sentropic/dataviz-vue

Vue 3 adapter for @sentropic/dataviz-core, built on @sentropic/design-system-vue...

9,407 0

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