Skip to content

Pages

uitemplate

named page container with optional overlay behavior

Installation

$ bunx termuijs add pages

Copies the source into src/components/pages/ and installs @termuijs/core, @termuijs/widgets.

Usage

ts
import { Pages } from '@termuijs/ui'
ts
new Pages(pages: Page[], options: PagesOptions = {})

API Reference

Pages

PropTypeRequiredDescription
pagesPage[]required
stylePartial<Style>optional
#template#pages