Kaupvik KeelKaupvik Keel
Open Source · v0.8.0

Hierarchy tree picker

Collapsible multi-level group and child checkbox tree with search and batch group selection.

Interactive example

Loading Polaris web components…

Usage

<HierarchyTreePicker groups={groups} selectedIds={selected} onChange={setSelected} />

Properties

PropertyTypeDefaultDescription
groupsHierarchyTreeGroup[]RequiredParent groups containing selectable child records.
selectedIdsstring[]RequiredControlled list of selected child IDs.
onChange(ids)=>voidRequiredUpdated child ID selection callback.
searchPlaceholderstringFilter groups or itemsAccessible filter prompt.

Design & interaction

Group Shopify companies or product families above leaf locations and variants so bulk assignment takes one click instead of flat ungrouped lists.

Accessibility

Native s-checkbox controls with indeterminate parent states, labeled expand/collapse buttons, and native search field.

Open-source source

Available in github.com/Kaupvik/kaupvik-polaris ↗. Host apps supply authentication, native persistence, and read-back state.