sigilUI

Ecosystem Diagram

Map relationships between a product and its integrations.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { EcosystemDiagram } from "@sigil-ui/components";

Usage

<EcosystemDiagram
    center={{ label: "Sigil core" }}
    ring={[
      { label: "Tokens" },
      { label: "Components" },
      { label: "Presets" },
      { label: "CLI" },
      { label: "Docs" },
      { label: "Demos" },
    ]}
  />

Props

PropTypeDefaultDescription
center (required){ label: string; icon?: ReactNode; sublabel?: string }—Center configuration.
ring (required)EcosystemNode[]—Ring configuration.
sizenumber—Sets the component's size.

Token integration

CSS VariablePurpose
--s-border-mutedBorder muted
--s-radius-fullRadius full
--s-primaryPrimary
--s-backgroundBackground
--s-textText
--s-text-mutedText muted
--s-borderBorder
--s-surfaceSurface