Terminal

A code editor workspace: an activity bar that switches a resizable sidebar between the file explorer and source control, and a configurable Run view, open files as tabs (each with a close button that appears on hover), a scrollable editable code surface with a Run button, a closable terminal panel, a settings modal, and a status bar. The file tree, file contents, git status, and command output all load from API routes (the demo answers commands with mocked replies and executes nothing), so point them at your own backend. Installs as a folder with the API client in terminalApi.ts.

Installation

npx dafink-ui add terminal

Also installs: Resizable, Tabs, Code-editor, Tree, Skeleton, Spinner, Button, Badge, Modal, Switch, Input

Demo

Explorer

No file open

Pick a file from the explorer to start editing.

Terminal

Type "help" to see available commands.

Ready