Search documentation

Search guides, examples, and component APIs.

Quick links
↑↓ NavigateEnter OpenEsc Close
Get started

Blocks / Workspace & tools

File explorer with details pane

A resizable file tree with right-click actions, keyboard hints, and a details pane for the selected item.

bunx --bun @getweini/cli@latest add badge button context-menu description-list kbd resizable tree
Customize
  • Edit the `files` prop. Folders have `children`; the template renders three levels, so add another nested `TreeGroup` block if you need a deeper hierarchy.
  • One `ContextMenu` serves the whole tree. The block records the row under the pointer (or the focused row for Shift+F10 and the Menu key) and emits `action` with the command and the file.
  • The `ResizableGroup` splits tree and details horizontally on wide screens and stacks them vertically below 640 px. Both handles have an application-owned label in `copy`.
  • Keyboard hints use `Kbd` and are visual only: no global shortcut is registered. Wire `rename` and `trash` to your own handlers.
  • Use the `empty` state to preview a workspace with no files.