@orangecheck/ui
v0.1.2
Published
OrangeCheck family-internal UI for the .ochk.io sub-sites. Tailwind 4 + Next.js Pages Router. Not for third-party integration.
Downloads
777
Readme
@orangecheck/ui
OrangeCheck family-internal UI for the .ochk.io sub-sites.
This package is not for third-party integrators. For embeddable
OrangeCheck components (badge, gate, signed-challenge button), see
@orangecheck/react.
Components
<EcosystemSwitcher current="…" />
Cross-product dropdown for jumping between every site in the OrangeCheck
family. Pass the active product slug via current.
import { EcosystemSwitcher } from '@orangecheck/ui';
<EcosystemSwitcher current="lock" />Slugs: home | docs | attest | lock | vote | stamp | agent | pledge.
Required host environment
Family-internal package — assumes the host is an OC sibling app:
- Next.js 15 (Pages Router or App Router).
<EcosystemSwitcher />usesnext/linkdirectly. - Tailwind 4 with the OrangeCheck theme tokens defined in the host's
globals.css:--background,--foreground,--primary,--muted,--muted-foreground, plus the customfont-displayandlabel-monoutilities. - lucide-react for icons.
If you're not in an OC family oc-X-web app, you probably want
@orangecheck/react instead.
License
MIT
