apps/www/content/blog/09-chakra-3.22-treeview-is-here.mdx
We've just shipped Chakra UI v3.22! This release introduces the Tree View component, along with quality improvements to make building with Chakra even smoother.
The Tree View component is a versatile component that allows users to display hierarchical data in a tree structure.
The basic tree view provides a tree structure with nested items.
<ExampleTabs name="tree-view-basic" />Lazy loading is a feature that allows the tree view to load children of a node on demand (or async). This helps to improve the initial load time and memory usage.
<ExampleTabs name="tree-view-async" />clipboardAnatomy was not exported from
@chakra-ui/react/anatomyreason to onOpenChange and onInputValueChange callbacksapi.clearHighlightedValue function to clear highlighted valuetitle or description could not accept React elementapi.clearHighlightedValue function to clear highlighted valueTo upgrade to the latest version, run:
npm install @chakra-ui/react@latest