@bysages/nuxt

Nuxt module for By Sages Elements — auto-imports the paper-and-ink Vue components and applies the theme
191 1
Install
npm install @bysages/nuxt
Latest Version:0.4.4
Vue:3
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: demomacro

@bysages/nuxt

npm version npm downloads npm license

The Nuxt module for By Sages Elements — registers every @bysages/vue family 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/vue families 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 theme option applies mode, accent, scene, density, and contrast on the client before the app mounts
  • 🔤 Prefixed names on demand — a prefix option 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
@smalt-ui/nuxt

Nuxt module for @smalt-ui/core: component auto-import, styles, color mode

451 0
@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