React component for selective directory filtering and file tree visualization
npm install @principal-ade/dynamic-file-treeReact component for selective directory filtering and file tree visualization.
This package provides React components that allow users to:
- Select specific directories from a file tree
- Filter and show only selected directories
- Toggle directories as visible/hidden
- Provide a clean, filtered view of file trees
Inspired by the directory filter implementation in the electron-app search feature.
``bash`
npm install @a24z/dynamic-file-treeor
yarn add @a24z/dynamic-file-treeor
bun add @a24z/dynamic-file-tree
`tsx
import { DynamicFileTree } from '@a24z/dynamic-file-tree';
function App() {
return (
/>
);
}
`
`bashInstall dependencies
bun install
MIT
Developed by a24z.ai