diff --git a/docs/src/pages/components/TreeView.svx b/docs/src/pages/components/TreeView.svx
index 4cd34e29..daaf5205 100644
--- a/docs/src/pages/components/TreeView.svx
+++ b/docs/src/pages/components/TreeView.svx
@@ -45,4 +45,34 @@ Expanded nodes can be set using `expandedIds`.
Initial multiple selected nodes can be set using `selectedIds`.
-
\ No newline at end of file
+
+
+### Expand all nodes
+
+To programmatically expand all nodes, access the component instance using the [bind:this](https://svelte.dev/docs#bind_element) directive and invoke the `TreeView.expandAll()` method to expand all nodes.
+
+
+
+### Collapse all nodes
+
+Similarly, invoke `TreeView.collapseAll()` to collapse all nodes.
+
+
+
+### Expand a subset of nodes
+
+Use the `TreeView.expandNodes` method to expand only a subset of nodes.
+
+The method accepts an argument that takes a node and returns a boolean.
+
+If no argument is provided, all nodes will be expanded.
+
+
+
+### Collapse a subset of nodes
+
+Use the `TreeView.collapseNodes` method to collapse a subset of nodes.
+
+If no argument is provided, all nodes will be collapsed.
+
+
\ No newline at end of file
diff --git a/docs/src/pages/framed/TreeView/TreeViewCollapseAll.svelte b/docs/src/pages/framed/TreeView/TreeViewCollapseAll.svelte
new file mode 100644
index 00000000..abbd09e0
--- /dev/null
+++ b/docs/src/pages/framed/TreeView/TreeViewCollapseAll.svelte
@@ -0,0 +1,63 @@
+
+
+