AppShell
uitemplate
full-screen application layout
Terminal
$termuijs render app-shell
Installation
$ bunx termuijs add app-shell
Copies the source into src/components/app-shell/ and installs @termuijs/core, @termuijs/widgets.
Usage
ts
import { AppShell } from '@termuijs/ui'ts
new AppShell(options: AppShellOptions)API Reference
AppShell
| Prop | Type | Required | Description |
|---|---|---|---|
header | Widget | optional | — |
footer | Widget | optional | — |
sidebar | Widget | optional | — |
main | Widget | required | — |
sidebarWidth | number | optional | — |