notifications
uitemplate
Global singleton accessor
Terminal
$termuijs render notifications
Installation
$ bunx termuijs add notifications
Copies the source into src/components/notifications/ and installs @termuijs/core, @termuijs/jsx, @termuijs/widgets.
Usage
ts
import { notifications } from '@termuijs/ui'ts
new notifications(options: NotificationCenterOptions = {})API Reference
notifications
| Prop | Type | Required | Description |
|---|---|---|---|
position | 'top-right' | 'bottom-right' | 'top-left' | 'bottom-left' | optional | — |
maxVisible | number | optional | — |
width | number | optional | — |