Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 966 Bytes

File metadata and controls

37 lines (27 loc) · 966 Bytes
title PaperShell
parent Surfaces, shells and resources
grand_parent Components

PaperShell

{: .no_toc }

An airy, mostly borderless frame for something read rather than watched.

import { createApp } from '@textui/core';
import { registerBuiltins } from '@textui/widgets';
import { createNodeTerminal } from '@textui/terminal';

const app = createApp({
  terminal: createNodeTerminal(),
  shell: 'paper',
  onBoot: registerBuiltins,
});

Props

No props of its own.

Generous spacing, few rules. For a report, a document or a wizard - anything read once rather than monitored.

This is the shell that exercises the "no border" path in every component, which is why Panel has to render its title as a heading row rather than into a rule.

See also