A top-down chart. Each node can carry a meta line and child nodes.
Unlock it plus 108 pro blocks, widgets & layouts — $99 one-time. Lifetime updates, 14-day money-back guarantee.
Ada
Lead
Grace
Platform
Katherine
Product
<ply-org-chart [nodes]="leaders" aria-label="Team"></ply-org-chart>
TypeScript
import { Component } from '@angular/core';
// Install: npx ply-ui-cli add org-chart
// Paths are relative to aliases.components (default: src/app/components)
import { OrgChartComponent, OrgChartNode } from './org-chart/org-chart.component';
@Component({
selector: 'app-org-chart-example',
imports: [
OrgChartComponent
],
template: `...`
})
export class OrgChartExampleComponent {
readonly leaders: OrgChartNode[] = [
{
label: 'Ada',
meta: 'Lead',
children: [
{ label: 'Grace', meta: 'Platform' },
{ label: 'Katherine', meta: 'Product' },
],
},
];
}Install
npx ply-ui-cli add org-chart
npx ply-ui-cli add org-chart
For AI agents
Copy a prompt with the registry name, CLI install, and import — or add the Ply MCP server.
npx -y ply-ui-mcp
Ply provides standalone components. Import the exact elements you want to use into your component.
// Install: npx ply-ui-cli add org-chart
// Paths are relative to aliases.components (default: src/app/components)
import { OrgChartComponent, OrgChartNode } from './org-chart/org-chart.component';
@Component({
selector: 'app-your-component',
imports: [
OrgChartComponent
],
template: `...`
})
export class YourComponent {} API for org-chart — generated from JSDoc in the library source.
| API | Member | Type | Default | Description |
|---|---|---|---|---|
OrgChartNode | label | string | — | — |
OrgChartNode | meta | string | — | — |
OrgChartNode | children | OrgChartNode[] | — | — |
ply-org-chart | class | string | '' | Extra host classes merged via `cn()`. |
ply-org-chart | nodes | OrgChartNode[] | [] | Root nodes. |
ply-org-chart | aria-label | unknown | 'Organization' | Accessible name of the chart. |
Content