GitHubnpm

Introduction

Guide

nexious-library is a TypeScript-first React component library with a built-in Calendar, Form engine, Navigation, Checkout, and a pluggable icon system, the UI toolkit that powers companyuno.com.

nexious-library is the React component library that powers companyuno.com. It ships accessible, themeable primitives (buttons, forms, dialogs, cards) alongside larger building blocks like a full month Calendar, a schema-driven Form engine, a Checkout flow, and a Header/Footer app shell. Everything is written in TypeScript, styled with CSS custom properties, and designed to drop into any Vite, webpack, or esbuild app.

#Why this library

The idea behind Company Uno is simple: you need fewer tools, not more. That philosophy shows up in the library too. One dependency gives you the primitives and the composed surfaces, so you are not stitching a button kit, a calendar package, a form library, and a checkout widget into one design language.

  • TypeScript-first. Every component ships prop types; the root entry re-exports the prop interfaces so you can type your own wrappers without reaching into subpaths.
  • Accessible by default. Focus traps, aria wiring, keyboard navigation, and link-name safety are built in, not bolted on.
  • Themeable with CSS variables. Re-skin everything, including dark mode, by overriding custom properties after one stylesheet import. No build step, no theme provider.
  • Zero-config icons. A dependency-free SVG set is seeded by default; opt into the FontAwesome adapter or register your own set for the rest.
  • Secure links. Every built-in anchor routes its href through safeUrl(), which neutralizes javascript: and other stored-XSS vectors.

#Start here

#At a glance

App.tsx
import { Button, Form, Icon, Loading } from "nexious-library";
import "nexious-library/@index.css";

export default function App() {
  return (
    <main>
      <Icon icon="heart" label="Like" />
      <Button label="Get started" onClick={() => console.log("clicked")} />
      <Form
        initialValues={{ email: "", message: "" }}
        labels={{ email: "Email", message: "Message" }}
        schema={{ required: ["email"] }}
        onSubmit={(values) => console.log(values)}
      />
    </main>
  );
}

You are reading the documentation for nexious-library v3.3.7. Use the sidebar to browse guides and the full API reference, or press Ctrl K to search.