Introduction

UI/UX Engine is an open-source interface engine for professional, information-dense applications. Each component is described once, as data, and that description drives the React component developers use, the native Figma component designers use, and the JSON specs agents write.

Early preview. Version 0.3 proves the architecture end to end with the Button, the Select and its Option, and one block, the Empty State. APIs may change in any minor version before 1.0.

One definition, three projections

A component is two files of plain data:

  • The contract says what the component accepts: props, slots, events, accessibility semantics and constraints such as "a button needs a label or an icon". It produces the TypeScript props, a JSON Schema and the validation that specs go through.
  • The design says how it looks: parts, layout, token bindings, variants and states. It produces the component's CSS and its Figma component set.

Neither file knows about React or Figma. The React component renders what the definition describes, the Figma plugin builds what it describes, and tests check that both agree. When a design changes, React and Figma change together.

What's in the box

Package What it does
@uiuxengine/tokens Design tokens with light and dark themes and three densities, as CSS variables
@uiuxengine/core The contract, design, manifest and spec models, with no framework
@uiuxengine/components The Engine's component definitions and their generated CSS
@uiuxengine/react React components, and a renderer for validated specs
@uiuxengine/cli Installs blocks as source, generates a project's CSS and manifest, feeds Figma
@uiuxengine/mcp A read-only MCP server that shows coding agents a project's components and specs

Components come from npm, so they stay identical to their definition and their Figma component. Blocks, larger compositions such as the Empty State, come as source that the CLI copies into your project for you to edit and own.

Who it's for

  • Developers get accessible React components that follow the design file, with themes and density as tokens.
  • Designers get native Figma components with variables, variants and properties, synced from the same definitions, with edits made in Figma reported, not lost.
  • Agents get a schema and an example for every component, and a renderer that only shows a spec after it validates against the installed components, the approved icons and the actions the host allows.

Next