panel

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(content string, opts Options) string

Render draws content inside a lazygit-style bordered panel. Title is embedded in the top border, FooterRight in the bottom border.

Types

type Options

type Options struct {
	Title       string
	Width       int
	Height      int
	Focused     bool
	FooterRight string
	// Theme colors
	BorderColor  lipgloss.Color
	FocusedColor lipgloss.Color
}

Options configures the bordered panel rendering.

Jump to

Keyboard shortcuts

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