Loading...
Loading...
Use when an app uses @pierre/trees to render or control a file tree, including React, vanilla JavaScript, SSR, web components, selection, search, rename, drag and drop, icons, git status, and themes.
npx skill4agent add pierrecomputer/pierre trees@pierre/trees@pierre/treespnpm add @pierre/treesreactreact-dom| Entry | Reference |
|---|---|
| Core API |
| React API |
| SSR API |
| Web components API |
| Task | Recipe |
|---|---|
| Render and update a tree in React | Use React |
| Render and update a tree without React | Use vanilla JavaScript |
| Preload a tree on the server | Use SSR |
| Apply a resolved Shiki or VS Code theme | Apply a theme |
| Configure search, rename, drag and drop, and git status | Add interactions |