live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/ui


@orangecheck/ui / EcosystemSlug

Type Alias: EcosystemSlug

type EcosystemSlug = 
  | "home"
  | "docs"
  | "fleet"
  | "attest"
  | "lock"
  | "vote"
  | "stamp"
  | "agent"
  | "pledge";

Defined in: ecosystem-switcher.tsx:18

EcosystemSwitcher — cross-product dropdown for jumping between every site in the OrangeCheck family. Drop one into every site's LayoutHeader and mark the active site via the current prop.

<EcosystemSwitcher current="lock" />

The component is dependency-self-contained: no Radix, no Headless UI, just outside-click + Escape handling so it works identically in every site without forcing a peer-dep upgrade. Every link stays in-tab — the family is one app from the user's POV.