Components
Header
Styled header bar for CLI apps. Box, line, and filled styles.
A full-width header bar typically shown at the top of a CLI application. Three visual styles to match your app's aesthetic.
Installation
Usage
Examples
Box style (default)
Line style
Filled style
With subtitle
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | — | Application name (required) |
version | string | undefined | Version string — displayed as v{version} |
subtitle | string | undefined | Second line shown inside box or below line |
style | 'box' | 'line' | 'filled' | 'box' | Visual style |
align | 'left' | 'center' | 'left' | Title alignment |
theme | InkUITheme | darkTheme | Color theme |