Skip to content

EmptyState

widgetsfeedback

EmptyState component

Installation

$ bunx termuijs add empty-state

Copies the source into src/components/empty-state/ and installs @termuijs/core, @termuijs/widgets.

Usage

ts
import { EmptyState } from '@termuijs/widgets'
ts
new EmptyState(title: string, style: Partial<Style> = {}, opts: EmptyStateOptions = {})

API Reference

EmptyState

PropTypeRequiredDescription
titlestringrequired
iconstringoptional
descriptionstringoptional
hintstringoptional
#feedback#empty-state