Skip to content

File Tree

Explore project structure with file-type icons, collapsible folders, and keyboard navigation.

On this page

Usage

Your documentation app
md
title: Documentation for your project
description: Everything you need to get started.
links:
  - label: Get started
    to: /getting-started/introduction

Each item requires a non-empty name. An item with children is an expandable folder. label defaults to Project structure. Trees support up to 20 folder levels.

Interaction

Folders start expanded. Click a folder row or its chevron to collapse or expand it. Files and folders at the same depth share a label column; file icons reflect the filename extension.

The tree uses the IPEX Tree component and follows its control sizing, focus, hover, and touch-target recipes. Filename labels use monospace, and long names show their full text on hover.

KeyAction
Up / DownMove between visible entries
RightExpand a folder or move into its children
LeftCollapse a folder or move to its parent
Home / EndMove to the first or last visible entry
Type a nameFocus a matching entry

For selectable source files with code panels, use Code Tree.

Indocio · Built with Nuxt Content, IPEX, and Akaza UI.