@unisane/ui
v0.1.1
Published
Open-code React component registry and optional runtime distribution for product interfaces
Maintainers
Readme
@unisane/ui
The optional React 19 runtime distribution for Unisane UI components and styles.
The primary public adoption path is the open-code registry delivered by
@unisane/ui-cli, which installs application-owned source under
@/components/ui/*. This package provides the same component contract as versioned
runtime artifacts for consumers that deliberately prefer package imports.
Runtime-package installation
pnpm add @unisane/ui @unisane/tokens react react-domImport the runtime stylesheet once at the application boundary:
@import '@unisane/ui/styles.css';Use declared component subpaths so bundlers can select the components you import:
import { Button } from '@unisane/ui/button';
export function SaveButton() {
return <Button variant="filled">Save changes</Button>;
}Do not import src/**, registry internals, workspace paths, or undeclared subpaths.
DataTable has a separate package and release boundary.
Registry parity
packages/ui/src/** is the one component authoring source. The published registry is
generated and checked against it; registry files are not a second manually maintained
implementation. Public documentation leads with local-source imports, while the
repository workbench also exercises these runtime exports to preserve dual-distribution
parity.
License
MIT
