React component library for Safe Lagoon portals. Built on shadcn/ui, styled with the Figma brandbook.
| Package | Description |
|---|---|
@safelagoon/ui |
Core component library |
@safelagoon/ui/icons |
Brand icon set |
@safelagoon/ui/charts |
Recharts wrappers |
@safelagoon/ui/map |
Google Maps geofence components |
@safelagoon/ui/blocks |
Layouts and auth forms |
npm install @safelagoon/uiimport { ThemeProvider, Button } from "@safelagoon/ui";
import "@safelagoon/ui/styles.css";pnpm install
pnpm dev # docs site at localhost:3000
pnpm build # build all packages
pnpm test # run testsDocumentation microsite: ui.safelagoon.com (deploy from apps/docs).
npx shadcn@latest add @Safe-Lagoon/ui/buttonMIT © Safe Lagoon Software