sigilUI

Ecosystem Diagram

A radial ecosystem layout with a center node and ring nodes connected by dashed lines.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<EcosystemDiagram
  center={{ label: "Platform", sublabel: "Core" }}
  ring={[
    { label: "Auth" },
    { label: "Storage" },
    { label: "Compute" },
    { label: "CDN" },
    { label: "Search" },
  ]}
/>

Custom size with icons

<EcosystemDiagram
  size={360}
  center={{ label: "Sigil", icon: <LogoIcon /> }}
  ring={[
    { label: "Tokens", icon: <PaletteIcon /> },
    { label: "Components", icon: <BoxIcon /> },
    { label: "CLI", icon: <TerminalIcon /> },
    { label: "Presets", icon: <SlidersIcon /> },
  ]}
/>

Props

PropTypeDefaultDescription
center{ label, icon?, sublabel? }—Center node (required)
ringEcosystemNode[]—Array of { label, icon? } placed around the ring (required)
sizenumber280Diagram diameter in pixels
classNamestring—Additional CSS classes

Plus all standard <div> HTML attributes.