@slexn/codecenter-ui

An open-source-grade Vue component system with typed packages, Nuxt documentation, and source registry output.
3,724
Install
npm install @slexn/codecenter-ui
Latest Version:3.0.0
Vue:3
License:Custom
Last Updated:Sep 17, 2026
Links: Repository  ·  npm
Maintainer: slexn

CodeCenter UI

A scalable Vue 3 component system with typed package exports, source-installable shadcn-vue registry items, a Nuxt documentation application, live previews, and contract-driven validation.

Development

npm run dev

The documentation application runs at the local URL printed by Nuxt. Component sources live in packages/codecenter-ui/src/components/ui.

Package usage

import { Button } from "@slexn/codecenter-ui"
import "@slexn/codecenter-ui/styles.css"

Consumers that only need one entry can use a component subpath:

import { Button } from "@slexn/codecenter-ui/components/button"

Reusable foundations have dedicated tree-shakable entrypoints:

import { createContext, useDisclosure } from "@slexn/codecenter-ui/composables"
import { clamp, composeEventHandlers, toArray } from "@slexn/codecenter-ui/lib"
import type { DeepPartial, Orientation } from "@slexn/codecenter-ui/types"

Validation

npm run check

Structure

  • packages/codecenter-ui/src: publishable library source
  • packages/codecenter-ui/src/lib: dependency-light function utilities
  • packages/codecenter-ui/src/composables: Vue composition utilities
  • packages/codecenter-ui/src/types: cross-component public types
  • packages/codecenter-ui/tests: package tests
  • apps/docs: documentation and preview application
  • registry.json: source registry definition
  • public/r: generated source registry output
  • scripts: architecture, package, registry, and dependency checks

Each component owns its Vue source, variants and types, folder export, tests, Markdown guide, live preview, package export, and registry entry.

Shared foundations use narrow responsibility-based modules, public barrels, subpath package exports, behavior tests, type-contract tests, and dedicated documentation.

AI usage guides

Share these three Markdown files together with a compatible package release:

  • AI_GUIDE.md: installation, app setup, version matching, and instructions for coding assistants.
  • COMPONENTS.md: generated component catalog, public exports, and full component guides.
  • EXAMPLES.md: Vue examples for prompt input, validated forms, and team data screens.

Regenerate the component reference after updating component docs or exports:

node scripts/generate-ai-docs.mjs
node scripts/generate-ai-docs.mjs --check

Related Packages

@quidgest/ui

Quidgest's UI framework

22,574
@titancasket/component-library

Titan Casket Vue 3 component library with design system - usable as Nuxt layer o...

8,141
@nuxtjp/ui

Nuxt UI derivative with a traceable Japanese public-design profile

1,077 0
@revenexx/studio

Revenexx Studio — Vue 3 + Tailwind v4 component library (shadcn-vue based).

5,025
vectis-ui

Vue 3 design system — HTML/CSS first, CSS tokens, Nuxt 3 (SSR) compatible

2,185 0

Version History

Version Released Vue License
3.0.0 ^3.5.0 Custom
2.0.0 ^3.5.0 Custom
1.2.6 ^3.5.0 Custom
1.2.5 ^3.5.0 Custom
1.2.4 ^3.5.0 Custom