@slexn/codecenter-ui
| Install | |
|---|---|
npm install @slexn/codecenter-ui |
|
| Latest Version: | 3.0.0 |
| Vue: | 3 |
| License: | Custom |
| Last Updated: | Sep 17, 2026 |
| Links: | Repository · npm |
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 sourcepackages/codecenter-ui/src/lib: dependency-light function utilitiespackages/codecenter-ui/src/composables: Vue composition utilitiespackages/codecenter-ui/src/types: cross-component public typespackages/codecenter-ui/tests: package testsapps/docs: documentation and preview applicationregistry.json: source registry definitionpublic/r: generated source registry outputscripts: 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
Titan Casket Vue 3 component library with design system - usable as Nuxt layer o...
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 | |
| 1.2.3 | ^3.5.0 | Custom | |
| 1.2.2 | ^3.5.0 | Custom | |
| 1.2.1 | ^3.5.0 | Custom | |
| 1.2.0 | ^3.5.0 | Custom | |
| 1.1.1 | ^3.5.0 | Custom | |
| 1.1.0 | ^3.5.0 | Custom | |
| 1.0.9 | ^3.5.0 | Custom | |
| 1.0.8 | ^3.5.0 | Custom | |
| 1.0.7 | ^3.5.0 | Custom | |
| 1.0.6 | ^3.5.0 | Custom | |
| 1.0.5 | ^3.5.0 | Custom | |
| 1.0.4 | ^3.5.0 | Custom | |
| 1.0.2 | ^3.5.0 | Custom | |
| 1.0.1 | ^3.5.0 | Custom | |
| 1.0.0 | ^3.5.0 | Custom |