A collection of React component libraries and utilities used across SpatialHub applications.
This repository is organized as a monorepo containing the following packages:
@spatialhub/ui: Core UI component library built with Tailwind CSS and Radix UI.@spatialhub/auth: Authentication-related components (Login, Register, Forgot Password).@spatialhub/forms: Form utilities and a universal form builder.@spatialhub/i18n: Internationalization support and localization strings.
Each package is designed to be installed and used independently.
npm install @spatialhub/ui @spatialhub/authimport { Button } from "@spatialhub/ui";
import { LoginForm } from "@spatialhub/auth";
export const MyPage = () => (
<div>
<LoginForm onSubmit={handleLogin} />
<Button variant="outline">Cancel</Button>
</div>
);Most packages use tsup for bundling and typescript for type safety.
# Install dependencies
npm install
# Build all packages
npm run buildSee the LICENSE file for details.