You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update README: add details section and streamline examples
- Add 'Beyond Title: Rich Details Support' section explaining unique details feature
- Replace long code examples with concise descriptions and links to live demos
- Better structure guides users to interactive examples for hands-on experience
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+17-81Lines changed: 17 additions & 81 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,17 @@ function SchemaDetails({ data }) {
88
88
89
89
This way, `JsonSchemaNode` handles the business logic (what's expandable, how to render titles), while `TreeNode` handles the tree visualization (lines, indentation, expand/collapse UI).
90
90
91
+
## Beyond Title: Rich Details Support
92
+
93
+
Unlike traditional tree components that only show a title per node, handtree supports rich **details** content below each title. This is perfect for showing:
-**Basic Tree View** - Simple hierarchical structure showing the core TreeNode API
152
+
-**Interactive JSON Schema Explorer** - Complex nested data with custom styling, expand/collapse state management, and rich details content. Perfect example of handling heterogeneous data structures that resist normalization.
153
+
-**Minimal Example** - Lightweight implementation showing the essential patterns
0 commit comments