A high-performance component library, 1,380+ element gallery, and curated design systems built for human designers and AI coding agents.
Important
Repository Notice: This repository serves as a public engineering showcase, architecture specification, and portfolio reference for NovixUI. The core source code, proprietary component algorithms, and internal libraries are kept in a private repository. This showcase demonstrates the system design, architectural decisions, technical benchmarks, and interactive capabilities of the production application hosted live at novixui.com.
- Overview
- The Problem NovixUI Solves
- Live Production Links
- Visual Showcase & Feature Walkthrough
- System Architecture
- Technical Highlights & Engineering Achievements
- Technology Stack
- Monorepo & Package Architecture
- Key Technical Challenges & Engineering Solutions
- Project Goals & Roadmap
- Author & Contact
NovixUI is a production-grade UI design and component engineering platform created to bridge the gap between high-end digital aesthetics, rock-solid web performance, and modern AI-driven developer workflows.
Built from the ground up on React 19, TanStack Start (SSR), Tailwind CSS v4, and Nitro Serverless, NovixUI provides:
- An interactive gallery of 1,380+ meticulously crafted UI elements across 11 categories (Buttons, Checkboxes, Cards, Loaders, Inputs, Toggles, Tooltips, Forms, and more).
- 8 complete AI-first design systems (Halo, Cirrus, Forge, Meadowlark, Boldface, Meridian, Cairn, and Raster Sentinel) engineered to be consumed by AI coding agents (
DESIGN.mdprompt context) for instant aesthetic consistency. - A 3D spatial artifacts lab featuring pointer-tracked perspective transforms, kinetic audio-reactive visuals, and hardware-accelerated spring animations.
- A modular CLI package ecosystem (
@novix-ui/cliand@novix-ui/react) providing seamless component copy-and-own workflows. - A comprehensive documentation and token system comprising 72+ routes with real-time token testing, accessibility audit guides, recipes, and multi-framework migration paths.
| Challenge in Modern Frontend | How NovixUI Solves It |
|---|---|
| Aesthetic Homogeny Modern web applications increasingly suffer from template fatigue, using the exact same generic components across SaaS products. |
NovixUI introduces curated, high-craft aestheticsβfluid glassmorphism, OKLCH color grading, pointer-following glow matrices, and micro-interactions that make interfaces feel distinct and premium. |
| AI Agent Inconsistency Autonomous coding agents (Cursor, Claude, Copilot) frequently generate mismatched layouts, inconsistent spacing, and broken color palettes. |
NovixUI establishes AI-First Design Systems: concise, tokenized specifications that can be dropped into project system prompts, enabling AI agents to produce unified, branded UI out of the box. |
| Heavy Runtime Overhead Large component suites often introduce massive JS bundles, hydration latency, and runtime CSS-in-JS calculation overhead. |
Zero-runtime CSS variable injection with Tailwind v4, headless Radix UI accessibility primitives, and streaming Server-Side Rendering (SSR) resulting in 99+ Lighthouse performance scores. |
| Clean Developer Experience Complex component galleries often pollute browser history with ugly query string bloat and unnecessary redirect round-trips. |
Designed with clean, canonical routing patterns where defaults are gracefully omitted, producing clean shareable links (/elements) and instant deep-linking. |
Experience the production deployment running live on global edge infrastructure:
- π Platform Homepage: https://novixui.com
- π§© Elements Gallery: https://novixui.com/elements
- π¨ AI Design Systems: https://novixui.com/design
- π Documentation & Token Spec: https://novixui.com/docs
- π Live Theming Engine: https://novixui.com/docs/theming
An interactive gallery of 1,380+ accessible components with instant tag filtering (React, Tailwind, Pure CSS), real-time name/id search, and one-click code inspection modals.
Eight full-system design frameworks engineered with semantic token sets and architectural rules designed for prompt injection into AI coding assistants.
Hardware-accelerated experimental components featuring gyroscope/pointer-tracked 3D transforms, fluid dial mechanics, dynamic specular reflection, and kinetic audio frequency nodes.
Every component card features an integrated 3D perspective tilt effect, framework badge indicator, interactive state machine, and one-click copyable TSX/Tailwind code with syntax highlighting.
Complete color spaces calibrated in OKLCH for perceptually uniform contrast ratios, paired with zero-re-render CSS custom properties that enable dark, light, and custom brand theme switching.
Curated vector iconography optimized for 1.75px optical stroke consistency, roving tab focus for keyboard navigation, and direct integration with Lucide React.
NovixUI is architected as an edge-first, server-rendered monorepo built for high availability and near-zero hydration latency.
graph TB
subgraph ClientLayer ["Client & Interaction Layer"]
R19["React 19 Components"]
RADIX["Radix UI Primitives (A11y)"]
MOTION["Motion Engine (Springs / 3D Tilt)"]
TW4["Tailwind CSS v4 (Paint-time CSS Vars)"]
end
subgraph RouterSSR ["Routing & Full-Stack SSR Engine"]
TSR["TanStack Router (Type-safe Trees)"]
TSS["TanStack Start (Streaming Hydration)"]
NITRO["Nitro Serverless Engine (v3)"]
end
subgraph CoreLibraries ["Internal Monorepo Modules"]
REACT_PKG["@novix-ui/react (Core Components)"]
CLI_PKG["@novix-ui/cli (Scaffolding Engine)"]
DESIGN_DATA["Design System Matrix (8 Systems)"]
ELEMENTS_DB["1,380+ Element Registry"]
end
subgraph Infrastructure ["Edge Infrastructure (Vercel)"]
EDGE_ROUTER["Vercel Global Edge Network (Anycast)"]
SERVERLESS_FN["Serverless Function (Node.js 22.x Runtime)"]
STATIC_CDN["Static Asset CDN (.vercel/output/static)"]
CUSTOM_DNS["Custom DNS Anycast (novixui.com)"]
end
CUSTOM_DNS --> EDGE_ROUTER
EDGE_ROUTER -->|Static Assets /css, /js, /img| STATIC_CDN
EDGE_ROUTER -->|Dynamic SSR Requests| SERVERLESS_FN
SERVERLESS_FN --> NITRO
NITRO --> TSS
TSS --> TSR
TSR --> ClientLayer
ClientLayer --> CoreLibraries
sequenceDiagram
autonumber
actor User as User / Search Bot
participant Edge as Vercel Edge CDN
participant Func as Serverless Function (__server.func)
participant Nitro as Nitro Server Entry
participant Start as TanStack Start Handler
participant Router as TanStack Router SSR
participant React as React 19 SSR Stream
User->>Edge: GET https://novixui.com/elements
Edge->>Func: Forward request (Edge -> Function)
Func->>Nitro: Execute fetch(request)
Nitro->>Start: Delegate to createStartHandler
Start->>Router: Match route tree & parse search params
Note over Router: Clean params: defaults (category=All) omitted
Router->>React: renderRouterToStream()
React-->>Start: HTML Chunk Stream
Start-->>Nitro: Normalized Web Response (200 OK)
Nitro-->>Func: Return Serverless HTTP Response
Func-->>Edge: Cache headers & HTML body
Edge-->>User: Fast 200 OK First Contentful Paint (<120ms)
flowchart LR
subgraph Tokens ["Design Token Definition"]
OKLCH["OKLCH Color Gamut (Perceptual Uniformity)"]
SPACING["Harmonic Spacing Scale (4px grid)"]
ELEVATION["Elevation & Specular Glows"]
MOTION_SPEC["Spring Dynamics (Stiffness: 300, Damping: 25)"]
end
subgraph RuntimeEngine ["Paint-Time CSS Variable Engine"]
CSS_VARS[":root { --primary, --accent, --subtle }"]
THEME_PROVIDER["ThemeProvider (localStorage + OS Sync)"]
ZERO_JS["Zero-JS Runtime Paint Swapping"]
end
subgraph Consumers ["Consumer Surfaces"]
COMPONENTS["React Components (@novix-ui/react)"]
AI_SPECS["DESIGN.md Context for AI Agents"]
MODALS["Code Export Modals"]
end
Tokens --> CSS_VARS
THEME_PROVIDER --> CSS_VARS
CSS_VARS --> ZERO_JS
ZERO_JS --> COMPONENTS
Tokens --> AI_SPECS
COMPONENTS --> MODALS
- Migrated from client-only Single Page Application rendering to full-stack streaming SSR using TanStack Start and Nitro.
- Achieved sub-120ms TTFB (Time to First Byte) across all 72+ documentation pages and the dynamic elements catalog.
- Fully compatible with Vercel's Build Output API v3, deploying natively as a
nodejs22.xserverless function with edge caching.
- Designed URL synchronization with TanStack Router search parameter schemas (
zod). - Eliminated redundant HTTP 307 redirects by treating standard defaults (
category=All,tag=All,sort=Featured) as optional URL parameters. - Users navigating to
/elementsreceive clean, canonical URLs without query clutter, while deep links (e.g.,/elements?category=Buttons&item=glow-btn-3) retain full fidelity.
- Implemented modern color tokens defined in the OKLCH color space.
- Guarantees uniform perceived brightness and contrast ratios across hues, ensuring WCAG 2.1 AA/AAA compliance in both dark and light modes.
- Theme switching occurs at paint time via CSS Custom Properties, incurring zero React component re-mounts or re-render overhead.
- Built interactive 3D spatial artifact cards using hardware-accelerated GPU transforms (
translate3d,rotateX,rotateY,perspective). - Smooth inertia and physics simulation powered by spring dynamics with configurable stiffness, damping, and mass.
- Specular reflection shader emulation responding dynamically to pointer coordinates relative to bounding client rectangles.
| Domain | Technologies Used | Rationale |
|---|---|---|
| Core Framework | React 19.2, TypeScript 5.8 | Concurrency features, Server Functions, React Compiler compatibility, strict type inference. |
| Routing & Full-Stack SSR | TanStack Router 1.170, TanStack Start 1.168 | Complete type safety for route params, streaming HTML hydration, automatic code-splitting. |
| Serverless Runtime | Nitro 3 (Beta), Vercel Serverless | Multi-target engine emitting Vercel Build Output API v3 serverless bundles on Node 22. |
| Styling & Design System | Tailwind CSS v4.2, Vanilla CSS Variables | Next-gen Vite-integrated CSS compiler, zero runtime overhead, direct OKLCH support. |
| Accessible Primitives | Radix UI (@radix-ui/react-*) |
Unstyled, fully accessible (WAI-ARIA compliant) headless primitives for dialogs, tabs, popovers. |
| Animation & Gestures | Motion (Framer Motion 12.4) | Declarative spring physics, exit animations, GPU-accelerated layout transitions. |
| Build & Tooling | Vite 8.0, Rolldown, tsup, ESLint 9 | Sub-second HMR, optimized production chunk trees, fast library compilation. |
| Validation & State | Zod 3.24, TanStack Query 5 | Runtime URL validation, type-safe API schema contracts, client-side data caching. |
| Icons & Media | Lucide React, Custom SVG Shaders | Lightweight, tree-shakeable vector icons with unified optical stroke weight. |
The project is structured as an npm workspaces monorepo containing modular packages:
novixui/
βββ packages/
β βββ react/ # Core React component library (@novix-ui/react)
β β βββ src/ # Button, Checkbox, Dialog, Input, Sheet, Tooltip, etc.
β β βββ tsup.config.ts # Dual ESM/CJS build with tree-shaking and DTS generation
β β βββ package.json # Published package metadata
β β
β βββ cli/ # Developer CLI generator (@novix-ui/cli)
β βββ src/ # 'novixui add <component>' automation logic
β βββ tsconfig.json # CLI compilation target
β βββ package.json # Executable binary config
β
βββ src/ # Full-stack documentation & showcase web application
β βββ components/ # Reusable UI modules & interactive code modals
β βββ data/ # Design system definitions & 1,380+ element catalog
β βββ nova/ # Nova design system primitives
β βββ routes/ # TanStack Start file-based routing tree (80+ routes)
β β βββ index.tsx # Interactive homepage & mosaic preview
β β βββ elements.tsx # 1,380+ Element gallery with real-time filters
β β βββ design.tsx # 8 AI-first design systems showcase
β β βββ docs.*.tsx # 72 documentation, token, recipe, and guide pages
β βββ lib/ # Snippet extractors, error boundaries, and helpers
β βββ server.ts # SSR entry handler for streaming responses
β
βββ vercel.json # Vercel deployment and build configuration
βββ vite.config.ts # Vite 8 + TanStack Start + Nitro + Tailwind v4 config
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1. Eliminating Circular Route ESM Bundling in SSR Rolldown β
β β
β Problem: Route-to-route imports in Vite SSR caused cyclic dependencies, β
β resulting in undefined Route objects during server initialization. β
β Solution: Decoupled all shared datasets (SYSTEMS, CREATIONS, CodeModal) β
β into dedicated standalone modules under src/data/ and src/components/, β
β establishing a strict unidirectional dependency graph. β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 2. Unifying Nitro Lazy Service Interface with Web Standard Fetch β
β β
β Problem: Nitro's lazyService wrapper calls mod.fetch(req), while bare β
β TanStack Start handlers return callable functions without .fetch methods. β
β Solution: Engineered a lightweight server entry wrapper that binds the β
β start handler to an explicit { fetch: (req) => handler(req) } interface, β
β ensuring 100% compatibility across both local Node and Vercel serverless. β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 3. Canonical Search Param Normalization without HTTP 307 Loops β
β β
β Problem: Zod schemas with default values forced TanStack Router to issue β
β 307 redirects on every plain request to /elements, bloating the URL bar. β
β Solution: Re-engineered the schema with optional fields and built a clean β
β search serializer that strips default values, maintaining clean canonical β
β URLs while preserving full state restoration for shared links. β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Core Component Library: Comprehensive set of accessible, high-craft React components.
- Full-Stack Streaming SSR: Migration to TanStack Start + Nitro on edge serverless infrastructure.
- 1,380+ Element Registry: Filterable, sortable, copy-ready element ecosystem.
- AI-First Design Systems: 8 complete design languages formatted for AI coding agent context.
- Custom Domain & DNS Setup: Zero-downtime deployment on
novixui.com. - Model Context Protocol (MCP) Server: Native MCP integration allowing AI agents (Claude, Cursor) to directly query and insert Novix components into user workspaces.
- Figma Design Token Bridge: Two-way synchronization between Figma variables and Novix CSS custom properties.
- WebGL / Three.js Canvas Elements: GPU-rendered fluid simulations and interactive 3D hero canvases.
- Multi-Framework Adapters: Official bindings for Svelte 5 and Vue 3.
Prakash Meena
- GitHub: @Pcmhacker-piro
- Live Project: novixui.com
- Repository: novixui-showcase
This project is private and proprietary. Source code is confidential. For inquiries, collaboration, or architectural discussions, feel free to reach out via GitHub.




