Skip to content

NotificationCenter

uitemplate

NotificationCenter component

Installation

$ bunx termuijs add notification-center

Copies the source into src/components/notification-center/ and installs @termuijs/core, @termuijs/jsx, @termuijs/widgets.

Usage

ts
import { NotificationCenter } from '@termuijs/ui'
ts
new NotificationCenter(options: NotificationCenterOptions = {})

API Reference

NotificationCenter

PropTypeRequiredDescription
position'top-right' | 'bottom-right' | 'top-left' | 'bottom-left'optional
maxVisiblenumberoptional
widthnumberoptional
#template#notification-center