Coral UI
@get-coral/ui
Section titled “@get-coral/ui”@get-coral/ui is the shared design-system package for Coral repositories. It provides reusable React components and a common style token layer so modules can ship faster while keeping a consistent UI language.
Installation
Section titled “Installation”pnpm add @get-coral/ui# ornpm install @get-coral/uiQuick Start
Section titled “Quick Start”import { CoralButton, CoralCard } from '@get-coral/ui'import '@get-coral/ui/styles.css'
export function Example() { return ( <CoralCard title="Shared UI"> <CoralButton variant="primary">Launch</CoralButton> </CoralCard> )}What It Includes
Section titled “What It Includes”- Shared primitives for common interface patterns (buttons, cards, and more over time)
- Design tokens exposed through CSS custom properties
- TypeScript-first component APIs
- React 19 compatible peer dependency setup
Why Use It
Section titled “Why Use It”- Keep visual consistency across Aurora, Fathom, Librarian, and other modules
- Reduce duplicated component code between repositories
- Publish improvements once and adopt everywhere
Publish Flow
Section titled “Publish Flow”@get-coral/ui is released with the same Release Please automation pattern as other Coral NPM packages:
- Push conventional commits to
main - Release Please opens or updates a release PR
- Merging the PR triggers NPM publish with
NPM_TOKEN