File Tree Explorer
An interactive directory explorer. Loads remote configurations, accumulates nested relative filenames, and outputs absolute paths prefixing base directories.
💎 Premium Plugin Extension
This component is part of the FrankUI Pro package. Purchase a license to get code access.
🔒
Source Code Restriced
The recursive directory tree parsing routines and lazy folder loaders are only available to Pro license holders.
Usage Reference & API Options
Configure the FileTree component using markup attributes:
| Attribute | Type | Description |
|---|---|---|
| data-role="filetree" | HTML Attribute | Identifies element as a FileTree component for automatic scan loaders. |
| data-source / url | String (URL) | Remote API directory scanner endpoint (e.g. explorer.php) that accepts ?dir=path query parameters and returns JSON file listings. |
| data-base-dir / baseDir | String (Path) | Initial root folder path displayed closed on application launch. |