Skip to content
v1.3.1

File explorer

A two-pane editor layout. A resizable split divides a tree view file browser from a code pane — drag the handle (or focus it and use arrow keys) to rebalance. Up top, a breadcrumb shows the path, toggle buttons flip editor options, and a toolbar holds the actions.

Preview full screen

Use it

This example is one self-contained file. Link the JLDS stylesheets and the behavior bundle from the CDN, then paste the markup. See Vanilla HTML for the full workflow.

html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jarooda/jlds@main/registry/css/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jarooda/jlds@main/registry/css/all.css">
<script src="https://cdn.jsdelivr.net/gh/jarooda/jlds@main/registry/js/all.js" defer></script>
bash
curl -O https://cdn.jsdelivr.net/gh/jarooda/jlds@main/registry/examples/file-explorer.html

Components used

Resizable · Tree View · Breadcrumb · Toggle · Toolbar · Snippet