Industrial-modernist React design system for legal/document/B2B enterprise software.
npm run devThe demo app runs through Vite and uses the story-style navigation in src/App.tsx.
Build the demo app and reusable package output:
npm run buildBuild only the reusable package output:
npm run build:libLibrary artifacts are written to dist-lib/:
index.mjsindex.cjstypes/index.d.tsstyle.css
In a consuming app:
npm install @ten4city/uiImport components and styles:
import '@ten4city/ui/styles.css'
import { Badge, Button, Card, Input, Table } from '@ten4city/ui'Apps that want to compose with Tenacity utility tokens can use the preset:
import tenacityPreset from '@ten4city/ui/tailwind-preset'
export default {
presets: [tenacityPreset],
content: [
'./src/**/*.{ts,tsx,js,jsx}',
'./node_modules/@ten4city/ui/dist-lib/**/*.js',
],
}The compiled stylesheet is still the default consumption path for simple apps.
See CLAUDE.md for the source-of-truth design principles.