Org chart preview
Explore reporting relationships through an accessible team tree and connected person cards.
pro · Blocks · composite
When to use
- Use it when a page needs explore reporting relationships through an accessible team tree and connected person cards.
- Choose it inside an authenticated product surface when the host application owns routing, persistence, and service calls.
Alternatives
- Choose analytics-card instead when explore revenue, compare periods and inspect chart values is the actual interface need, rather than org chart.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/org-chartImport components/ui/tidal.css, components/ui/org-chart.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/org-chart.css";
import{TidalOrgChart}from"./components/ui/org-chart";
export default()=><div className="tidal-scope"><TidalOrgChart expandedIds={["example"]} onExpandedChange={() => {}} onSelectedChange={() => {}} people={[{id:"example",name:"Demo",role:"value",managerId:"example"}]} selectedId={"example"} title={"Demo"}/></div>;API and props
TidalOrgChart.expandedIds (required)ReadonlyArray<string>Required expanded ids value accepted by this exported component.
TidalOrgChart.onExpandedChange (required)(ids: readonly string[], person: TidalOrgPerson, event: OrgEvent) => voidCallback invoked when the expanded change interaction is proposed.
TidalOrgChart.onSelectedChange (required)(id: string, person: TidalOrgPerson, event: OrgEvent) => voidCallback invoked when the selected change interaction is proposed.
TidalOrgChart.people (required)ReadonlyArray<TidalOrgPerson>Required people value accepted by this exported component.
TidalOrgChart.selectedId (required)string | nullRequired selected id value accepted by this exported component.
TidalOrgChart.title (required)ReactNodeRequired title value accepted by this exported component.
TidalOrgChart.descriptionReactNodeOptional description value accepted by this exported component.
TidalOrgChart.detailActionReactNodeOptional detail action value accepted by this exported component.
TidalOrgChart.dir"ltr" | "rtl" | undefinedOptional dir value accepted by this exported component.
TidalOrgChart.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalOrgChart.headingLevel"h2" | "h3" | "h4" | "h5" | undefinedOptional heading level value accepted by this exported component.
TidalOrgChart.labelsPartial<{ tree: string; reportsTo: string; reports: string; noReports: string; noManager: string; empty: string; choose: string; invalid: string; profile: string; }> | undefinedOptional labels value accepted by this exported component.
TidalOrgChart.personItemProps((person: TidalOrgPerson) => TidalTreeNode["itemProps"]) | undefinedOptional person item props value accepted by this exported component.
TidalOrgChart.personItemRef((person: TidalOrgPerson) => Ref<HTMLDivElement> | undefined) | undefinedOptional person item ref value accepted by this exported component.
TidalOrgChart.treeRefRef<HTMLDivElement> | undefinedOptional tree ref value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.