Skip to content

A tree view component for Payload CMS to display folders and files using the Folders functionality

License

Notifications You must be signed in to change notification settings

Patrickroelofs/payload-folder-tree-view

Payload Folders Tree View

npm   npm

Introduction

Payload Folders Tree View is a plugin for Payload CMS that adds a collapsible folder tree to the Admin UI, making it easy to browse and find documents by folders across multiple collections. It leverages Payload’s built-in folders feature and injects a component into the admin navigation.

Untitled.video.2.mp4

Quick start

This plugin is available publicly on npm.

  1. Install
pnpm add payload-folder-tree-view
  1. Add to your payload config
import { payloadFolderTreeView } from 'payload-folder-tree-view';

export default {
  plugins: [
   payloadFolderTreeView({
     showFiles: true,

     // Other options available
   }),
  ],
};

Contributing

Contributions are welcome! To get started:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature)
  3. Commit your changes
  4. Open a pull request

Please see the CONTRIBUTING.md for more details.

Need Help?

If you have questions or need support,

Contributors

About

A tree view component for Payload CMS to display folders and files using the Folders functionality

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

Contributors 3

  •  
  •  
  •