Search nx-ui
Jump to any foundation, component, block or example.
Organisation Scope Picker
A controlled, hierarchy-aware organisation scope picker. The consumer supplies authorised nodes, ancestry, loading and search callbacks; the component owns only the transient chooser state.
bunx shadcn@latest add @nx-ui/scope-pickerStaff, group, region and leaf contexts
Switch personas to see the same control adapt to staff All clients access, a group subtree, a regional subtree, one operating company, and unrelated memberships. Expand chevrons independently from selection; group and region nodes expose explicit Organisation only and Group view extents.
Dynamic states
Loading, retryable error, permission loss and async children/search are first-class states. Search results retain full ancestry, and slow callbacks are aborted when a newer query starts.
API reference
Exported parts and their props, extracted from the component source.
…extends ScopePickerProps