Skip to content

AppShell

uitemplate

full-screen application layout

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

PropTypeRequiredDescription
headerWidgetoptional
footerWidgetoptional
sidebarWidgetoptional
mainWidgetrequired
sidebarWidthnumberoptional
#template#app-shell