Shared React component library built on shadcn/ui primitives and Radix UI, used across the on.auto platform.
The package also exports a json-render component catalog so specs produced by the platform's generation pipeline can be rendered by these components at runtime.
pnpm add @onauto/ui-components
# or
npm install @onauto/ui-componentsPeer dependencies: react >= 19 and react-dom >= 19.
| Import path | What it is |
|---|---|
@onauto/ui-components |
Server-safe catalog tools (no JSX). Used by pipelines. |
@onauto/ui-components/components |
The components map consumed by @json-render/react. |
@onauto/ui-components/catalog |
The static component catalog (prop schemas, etc). |
@onauto/ui-components/catalog-tools |
Helpers for listing and inspecting the catalog. |
import { getComponentList, getComponentDetails } from '@onauto/ui-components';import { components } from '@onauto/ui-components/components';
import { catalog } from '@onauto/ui-components/catalog';MIT © on.auto