Component libraryOrg chart
Org chart
ProExplore reporting relationships through an accessible team tree and connected person cards.
npx shadcn@latest add @tidal-pro/org-chartInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/org-chart.css, components/ui/tree-view.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
Consumer-owned people use unique nonblank IDs, names, roles, and known managerId or null. Cycles and invalid selections fail visibly. Up to200 people form one or more reporting trees. Accepted Tree view supplies keyboard navigation, expansion, selection and focus recovery. Selected-person context shows exact manager and direct-report relationships. Controlled callbacks own every selection and expansion. Native root/tree/item props and refs, optional decorative portraits, selected detail/action slots, heading levels, RTL and narrow stacked layouts are supported. No organization changes, fetching, messaging or persistence occurs. Aggregate disabled state owns root semantics and makes the action slot inert. Focused relationship controls that disappear or become disabled recover only from the exact source/body to the persistent profile heading or root; unrelated focus is preserved.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.