components

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderBox

func RenderBox(title, content string, width int) string

RenderBox renders content in a styled box

func RenderBreadcrumb

func RenderBreadcrumb(items ...string) string

RenderBreadcrumb creates a breadcrumb navigation display

func RenderDivider

func RenderDivider(width int) string

RenderDivider creates a horizontal divider

func RenderFooter

func RenderFooter(content string, width int) string

RenderFooter creates a consistent footer for TUIs

func RenderHeader

func RenderHeader(title string, subtitle ...string) string

RenderHeader creates a consistent header for TUIs

func RenderKeyValue

func RenderKeyValue(key, value string) string

RenderKeyValue creates a key-value display

func RenderList

func RenderList(items []string, ordered bool) string

RenderList creates a styled list

func RenderProgress

func RenderProgress(current, total int, width int) string

RenderProgress creates a progress bar

func RenderSection

func RenderSection(title, content string) string

RenderSection creates a section with a title and content

func RenderSpinner

func RenderSpinner(frame int) string

RenderSpinner creates a simple spinner animation frame

func RenderStatusBar

func RenderStatusBar(left, center, right string, width int) string

RenderStatusBar creates a status bar with multiple sections

func RenderTabs

func RenderTabs(tabs []string, activeIndex int) string

RenderTabs creates a tab bar

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL