Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: FileTree Component #397

Open
yousinix opened this issue Oct 15, 2024 · 0 comments
Open

Feature: FileTree Component #397

yousinix opened this issue Oct 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@yousinix
Copy link

Currently the easiest way (excluding custom components) to visualize a directory structure is to use an ascii-based tree as follows:

your_app/
├── pubsepc.yaml
├── lib/
├── ...
└── widgetbook/
    ├── pubsepc.yaml
    ├── lib/
    └── ...

Providing first-class support for this might be a good idea, to make docs more visually appealing.
Here are some examples:

  1. Nextra's FileTree - Simple and interactive file tree.
    image

  2. From Next.js docs - They have a more visually appealing style, they use images instead of components to be able to annotate their images.
    image

@Ehesp Ehesp added the enhancement New feature or request label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants