附加组件

JSON 树查看器

JSON tree viewer

可折叠节点 + 类型与计数

实时预览

提示词正文

Build a JSON tree viewer with Tailwind CSS: a collapsible tree where objects and arrays show a chevron, a type-colored key and a child-count badge ({5} or [12]), leaves show a type-colored value (string, number, boolean, null) with quotes on strings, and long values truncate with an expand affordance. Include a search box that filters to matching keys and paths, a collapse-all/expand-all control, a path breadcrumb for the selected node with a copy action, and graceful rendering of deeply nested structures without runaway indentation.

提示词保持英文原文——直接粘贴进 Claude、Cursor、v0 或任何 AI 编程工具即可使用。

怎么用

可折叠树带类型着色与子计数徽章;搜索过滤键名;路径面包屑可复制;深层嵌套不爆炸缩进。

同类提示词 · 附加组件

© 2026 Genisource Vibe · 提示词详情