CxJS

What is CxJS

CxJS is a high-level TypeScript framework for building data-intensive web applications. Built on top of React, it provides widgets, forms, grids, charts, routing, and state management out of the box.

Framework vs Library

Unlike React, which is a library focused on rendering UI, CxJS is a full-featured framework. You don’t need to search for compatible packages or worry about integration issues. Everything works together seamlessly.

React (Library)CxJS (Framework)
UI rendering onlyFull application stack
Choose your own router, forms, tablesRouter, forms, grids included
Integrate multiple packagesSingle cohesive package
Flexible, but requires decisionsOpinionated, but productive

Built for Business Applications

CxJS is designed for rapid development of business applications that typically include:

  • Forms with validation, labels, and various input types
  • Data tables with sorting, filtering, grouping, and inline editing
  • Charts for data visualization
  • Complex layouts with navigation, tabs, and overlays

If your application has many tables, forms, and charts, CxJS will significantly speed up your development.

<Grid
  controller={PageController}
  records={m.sales}
  columns={[
    {
      header: "Product",
      field: "product",
      sortable: true,
      aggregate: "count",
      aggregateAlias: "productCount",
      caption: m.$group.region,
      footer: tpl(m.$group.productCount, "{0} products"),
    },
    {
      header: "Qty",
      field: "qty",
      sortable: true,
      align: "right",
      format: "n;0",
      aggregate: "sum",
    },
    {
      header: "Revenue",
      field: "revenue",
      sortable: true,
      align: "right",
      format: "currency;USD;0",
      aggregate: "sum",
    },
  ]}
  grouping={[
    { showFooter: true },
    {
      key: { region: m.$record.region },
      showCaption: true,
    },
  ]}
/>
ProductQtyRevenue
Americas160$12,300
Widget A80$4,000
Widget B45$2,700
Gadget X35$5,600
Asia220$16,000
Widget A120$6,000
Widget B60$3,600
Gadget X40$6,400
Europe100$7,500
Widget A50$2,500
Widget B30$1,800
Gadget X20$3,200
9 products480$35,800

Battle-Tested

CxJS has been used in production for years, powering admin dashboards, business intelligence tools, data management applications, and internal enterprise tools. The framework is mature, stable, and continuously improved based on real-world usage.

Beyond the rich widget library, CxJS offers declarative data binding, client-side routing, TypeScript-first development with full type safety, and theming support with multiple built-in themes.