OrganizationChart

OrganizationChart visualizes hierarchical organization data.

OrganizationChart requires a collection of TreeNode instances as a value.

  • Founder
    • Product Lead
      • UX/UI Designer
      • Product Manager
    • Engineering Lead
      • Frontend Developer
      • Backend Developer

OrganizationChart requires a collection of TreeNode instances as a value.

  • Founder
    • Product Lead
      • UX/UI Designer
      • Product Manager
    • Engineering Lead
      • Frontend Developer
      • Backend Developer
basic-demo

Nodes can be expanded and collapsed when collapsible is enabled.

  • Founder
    • Product Lead
      • UX/UI Designer
      • Product Manager
    • Engineering Lead
      • Frontend Developer
      • Backend Developer
collapsible-demo

Nodes can be selected by defining selectionMode along with a value binding with selection properties. By default only one node can be selected, set selectionMode as multiple to select more than one.

  • Founder
    • Product Lead
      • UX/UI Designer
      • Product Manager
    • Engineering Lead
      • Frontend Developer
      • Backend Developer
selection-demo

Collapsible and selectable behaviors can be controlled at the node level using the collapsible and selectable properties of a TreeNode.

  • Founder
    • Product Lead
      • UX/UI Designer
      • Product Manager
    • Engineering Lead
      • Frontend Developer
      • Backend Developer
partial-demo

Nodes can define collapsedByDefault and selectedByDefault properties to configure the initial state.

  • Founder
    • Product Lead
    • Engineering Lead
      • Frontend Developer
      • Backend Developer
default-demo

Styling a specific node is configured with styleClass option of a TreeNode and custom templates.

  • Amy Elsner
    Amy ElsnerCEO
    • Anna Fali
      Anna FaliCMO
      • Sales
      • Marketing
    • Stephen Shaw
      Stephen ShawCTO
      • Development
      • UI/UX Design
colored-demo

Custom content instead of a node label is defined using the #node template reference.

  • USD
    USD
    United States Dollar
    • CAD
      CAD
      Canadian Dollar
      • AUD
        AUD
        Australian Dollar
      • NZD
        NZD
        New Zealand Dollar
    • MXN
      MXN
      Mexican Peso
      • COP
        COP
        Argentine Peso
      • BRL
        BRL
        Brazilian Real
template-demo

Screen Reader

Component uses ARIA roles and attributes for screen reader accessibility. The root element has role="tree" with aria-multiselectable for multiple selection support. Each tree item uses role="treeitem" with aria-level for hierarchy, aria-expanded for collapse state, and aria-selected for selection state. Child nodes are grouped with role="group".

Keyboard Support

Node

KeyFunction
tabMoves focus through the focusable nodes within the chart.
enterToggles the selection state of a node.
spaceToggles the selection state of a node.

Collapse Button

KeyFunction
tabMoves focus through the focusable elements within the chart.
enterToggles the expanded state of a node.
spaceToggles the expanded state of a node.
ON THIS PAGE
Figma UI Kit
The official Figma UI Kit for Prime UI libraries, the essential resource for designing with PrimeOne components.
Learn More