Installation
Forza requires Vue 3.5 or later. Install the library from the npm registry with your preferred package manager.
Package managers and registry status
Forza is published as @chrisdalbano/forza-ui. The package contains ESM JavaScript, TypeScript declarations, CSS, and Vue source. The source-copy CLI is available separately as @chrisdalbano/forza-ui-cli.
npm, pnpm, Yarn, and Bun are package managers. They install the same package from the npm registry; pnpm does not require a separate Forza publication. Choose the command for your application below.
Install the release
npm install @chrisdalbano/forza-uipnpm add @chrisdalbano/forza-uiyarn add @chrisdalbano/forza-uibun add @chrisdalbano/forza-uiTo pin this release, use @chrisdalbano/forza-ui@0.3.3. Versioned archives remain available on GitHub Releases.
npm installs the declared peers. If your package manager requires explicit peers:
npm install vue reka-ui @lucide/vue @formkit/auto-animate embla-carousel-vueAdd the stylesheet and theme wrapper
Import the stylesheet once in your application entry:
import "@chrisdalbano/forza-ui/style.css";<script setup lang="ts">
import { ref } from "vue";
import { FzButton, FzField } from "@chrisdalbano/forza-ui";
const name = ref("");
</script>
<template>
<main class="fz-theme">
<FzField v-model="name" label="Build name" />
<FzButton :disabled="!name.trim()">Save build</FzButton>
</main>
</template>The theme wrapper is required. Floating overlays inherit its theme. For Paper, add data-theme="paper". Fonts belong to your application; system fallbacks work without font requests. See theming.
Build locally
git clone https://github.com/Chrisdalbano/forza-ui.git
cd forza-ui
npm ci
npm run build:lib
npm pack ./packages/vueInstall the resulting tarball into your app. The release contains ESM, declarations, CSS, source, and license notices. Marketing code and GSAP are excluded.