Proportional typographic scale with optical letter-spacing, fluid font hierarchies, and standardized semantic text roles. Zero Shadow DOM barriers, rendering instantly with pure semantic HTML.
Test fluid type rendering, optical tracking, and font weights live.
Standard proportional display and heading roles with optical letter-spacing (tracking).
Built-in body, lead, muted, code, and quote primitives for readable content layouts.
NNUI-KIT delivers three-tier platform-native UI architecture with zero Shadow DOM barriers and sub-40 KB runtime footprint.
Components render into standard Light-DOM trees, allowing direct CSS styling with Tailwind or vanilla CSS, native HTML form submissions with FormData, and accessibility inspection by screen readers.
Updated 2 minutes ago · Version 1.0.1 · MIT Licensed
"Shadow DOM creates isolation, but in enterprise web apps, isolation quickly turns into an accessibility and styling prison."
Run npm install nnuikit or press ⌘K to search docs.
Zero-JS structural primitives that establish clean visual hierarchy across applications.
<!-- 1. Semantic Headings with Optical Tracking -->
<h1 data-ui="heading" data-size="3xl">Enterprise Platform Architecture</h1>
<h2 data-ui="heading" data-size="2xl">Analytics & Metrics</h2>
<h3 data-ui="heading" data-size="xl">Security & Audit Logs</h3>
<!-- 2. Standardized Semantic Text Roles -->
<p data-ui="text" data-variant="lead">High-hierarchy introductory paragraph.</p>
<p data-ui="text" data-variant="body">Standard content typography.</p>
<p data-ui="text" data-variant="muted">Secondary metadata and captions.</p>
<p data-ui="text" data-variant="small">Footnotes and legal disclaimers.</p>
<!-- 3. Form Validation Messages -->
<div data-ui="field-hint">Helper guidance text for form fields.</div>
<div data-ui="field-error">Live accessible validation error message.</div>
<!-- 4. Layout & Feedback Primitives -->
<div data-ui="stack" data-direction="col" data-gap="3">...</div>
<div data-ui="spinner" data-size="md" role="status"></div>