@bysages/nuxt
@bysages/nuxt
The Nuxt module for By Sages Elements — registers every
@bysages/vuefamily as an auto-imported component and ships the whole core style layer as one build-time stylesheet.
Features
- 🧩 Every family, auto-imported — all 90+
@bysages/vuefamilies register as Nuxt components; use<Button>,<Dialog.Root>,<DataTable>with no import lines - 🖥️ Styled SSR out of the box — the core style layer compiles into the build as a single stylesheet, so server-rendered pages carry styled HTML and the first paint never waits on runtime injection
- 🌗 Theme before mount — an optional
themeoption applies mode, accent, scene, density, and contrast on the client before the app mounts - 🔤 Prefixed names on demand — a
prefixoption namespaces the registrations (<BsButton>) when they must not collide
Installation
# pnpm
pnpm add @bysages/nuxt
# npm
npm install @bysages/nuxt
# yarn
yarn add @bysages/nuxt
# bun
bun add @bysages/nuxt
Quick Start
// nuxt.config.ts
export default defineNuxtConfig({
modules: ["@bysages/nuxt"],
bsElements: {
theme: { mode: "system", accent: "ink" },
},
});
<!-- app.vue -->
<template>
<Button tone="ink">Publish</Button>
</template>
The module wraps the Vue package — every family and prop documented there works here, and the token stylesheet is handled for you.
License
Related Packages
@pisandelli/daredash
Provides a design token-powered UI component library and styling system for Nuxt...
6,023
3
@bysages/docs-theme
Documentation theme for By Sages Elements — a Nuxt Content layer that turns a co...
177
1
@solar-icons/nuxt
Nuxt module for easily integrating Solar Icons into your Nuxt 3+ applications.
9,600
224
@bysages/charts
Token-themed charts for By Sages Elements — TanStack Charts dressed in the paper...
2,402
1
Version History
| Version | Released | License |
|---|---|---|
| 0.4.4 | MIT | |
| 0.4.3 | MIT | |
| 0.4.2 | MIT | |
| 0.4.1 | MIT | |
| 0.4.0 | MIT | |
| 0.3.1 | MIT | |
| 0.3.0 | MIT | |
| 0.2.3 | MIT | |
| 0.2.2 | MIT | |
| 0.2.1 | MIT | |
| 0.2.0 | MIT | |
| 0.1.1 | MIT |