Getting Started
Theming
Customize colors, borders, and spacing across all components.
Theme system
Every InkUI component accepts an optional theme prop of type InkUITheme. By default, all components use darkTheme from @inkui-cli/core.
Theme shape
Custom theme
Create your own theme by extending the defaults:
Global theme provider
For consistency across your whole CLI app, create a theme context:
Border styles
The borderStyle token controls box-drawing characters across Table, Dialog, and other bordered components:
| Value | Characters |
|---|---|
single | ┌─┐│└┘ |
double | ╔═╗║╚╝ |
rounded | ╭─╮│╰╯ |
bold | ┏━┓┃┗┛ |
ascii | +-+|+-+ |