Skip to content

vuecs

Components that ship undesigned — structure, behavior, accessibility — and themes that supply the design: Tailwind, Bootstrap, Bulma, or your own. Build your own component library on the same machinery, and consumers restyle everything through one config.

Primary palette

Neutral palette

Click swatches to recolor every component on the page in real time — powered by setColorPalette().

Built for real apps

🎨

Undesigned by default

Components ship structure, behavior, and a11y only — layered theme resolution with variants supplies the look.

🛠️

Multi-framework

Drop-in themes for Tailwind v4, Bootstrap 5, and Bulma 1.0+ — emitting each framework's native classes.

🔌

Build your own library

Publish components on the same machinery — consumers restyle your library and vuecs through one theme config.

🧩

Design tokens

22 palettes, 6 semantic scales, dark mode via .dark — switch palette at runtime, no rebuild.

🚀

Nuxt-ready

SSR-safe color mode, palette & locale via @vuecs/nuxt — zero FOUC on first paint.

🔒

TypeScript-first

Augmentable theme & defaults interfaces — autocomplete for component names and slot keys.

From zero to first component

Three steps. Tailwind v4 + design tokens come pre-wired.

npm install @vuecs/core @vuecs/theme-tailwind @vuecs/design

@vuecs/nuxt

Built for Nuxt

SSR-safe palette and color-mode plumbing — server-rendered classes match the client on first paint, no flash, no hydration mismatch.

  • useColorPalette() — switch palettes at runtime
  • useColorMode() — VueUse-backed dark/light/system, cookie-driven
  • Auto-imports — composables, zero boilerplate
  • SSR plugins — palette and color-mode injected into <head> before paint
Read the Nuxt guide →
nuxt.config.ts
// nuxt.config.ts
export default defineNuxtConfig({
    modules: ['@vuecs/nuxt'],
    vuecs: {
        themes: ['@vuecs/theme-tailwind'],
        colorMode: { value: 'system' },
        colorPalette: { value: { primary: 'green', neutral: 'zinc' } },
    },
});

Released under the Apache 2.0 License.