Skip to main content
Full view turns a finished workspace app into a preview-first experience. It hides the source editor and keeps a minimal breadcrumb bar so you can navigate without the editing controls taking over the page.
Full view changes how Arg presents the file in the file browser. It does not change your app’s runtime behavior.

Turn full view on or off from the editor

Open the file, then use Full view in the editor’s (More) menu. Arg edits the file for you - it inserts or deletes the appropriate full-view marker in the source and saves. The row is available in both directions, including while the file is already in full view, so you never have to leave the app to get the source editor back. The row is hidden when Arg cannot save the marker, such as for a read-only file. You can also add the marker by hand.

Enable full view in HTML

Add the arg-full-view metadata to the document’s <head>:
The marker works for authored HTML apps in the web workspace browser and the desktop app.

Enable full view in TSX or JSX

For a component file, add the same static, lowercase native element to the tree it returns:
For an entry point with a self-closing root, such as main.tsx, use the file-level source directive instead:
The JSX element must be the exact native <meta> element. The source directive must be a leading /* @arg-full-view */ comment, before imports and other code. A <Meta> component, string, dynamically generated tag, or comment later in the file does not enable full view.

What changes

When full view is active:
  • The HTML or React source pane is hidden.
  • The preview’s own pane header is hidden, and the permissions control that lived in it (Workspace access, Actions) moves into the file’s top bar.
  • The per-file toolbar becomes navigable breadcrumbs.
  • The floating source/app toggle is hidden.
  • The surrounding file navigation and tabs remain available.
Full view activates only after the file is saved and collaboration sync has settled. While the file is dirty, saving, or waiting for collaboration sync, Arg keeps the source and Save controls visible.

Supported surfaces

Read-only share links, public previews, and GitHub file viewers do not apply full-view metadata. They keep their normal source surface and navigation context.

Restore the source editor

Turn Full view off in the menu. Full view intentionally has no floating source toggle, so that menu row is the way back - it removes the marker from the source and saves. View code beside it shows the source for the current session without changing the file. You can also remove the <meta name="arg-full-view" /> element or /* @arg-full-view */ directive by hand with an Arg agent, MCP, or the arg CLI.