About
A file tree with collapsible folders, file-type icons, and colored badges for building file explorers and navigation panels.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Collapsible File Tree to your project and fits it to your theme.
Code
How Collapsible File Tree is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import CollapsibleFileTree from "@/components/ui/collapsible-file-tree";
export default function Demo() {
return (
<div className="flex w-full justify-center p-6">
<CollapsibleFileTree />
</div>
);
}















