Versions in this module Expand all Collapse all v1 v1.2.0 Feb 26, 2026 v1.1.0 Feb 18, 2026 Changes in this version + const ColorBlue100 + const ColorBlue200 + const ColorBlue300 + const ColorBlue400 + const ColorBlue50 + const ColorBlue500 + const ColorBlue600 + const ColorBlue700 + const ColorBlue800 + const ColorBlue900 + const ColorBlue950 + const ColorGray100 + const ColorGray200 + const ColorGray300 + const ColorGray400 + const ColorGray50 + const ColorGray500 + const ColorGray600 + const ColorGray700 + const ColorGray800 + const ColorGray900 + const ColorGray950 + const ColorGreen100 + const ColorGreen200 + const ColorGreen300 + const ColorGreen400 + const ColorGreen50 + const ColorGreen500 + const ColorGreen600 + const ColorGreen700 + const ColorGreen800 + const ColorGreen900 + const ColorGreen950 + const ColorOrange100 + const ColorOrange200 + const ColorOrange300 + const ColorOrange400 + const ColorOrange50 + const ColorOrange500 + const ColorOrange600 + const ColorOrange700 + const ColorOrange800 + const ColorOrange900 + const ColorOrange950 + const ColorPurple100 + const ColorPurple200 + const ColorPurple300 + const ColorPurple400 + const ColorPurple50 + const ColorPurple500 + const ColorPurple600 + const ColorPurple700 + const ColorPurple800 + const ColorPurple900 + const ColorPurple950 + const ColorRed100 + const ColorRed200 + const ColorRed300 + const ColorRed400 + const ColorRed50 + const ColorRed500 + const ColorRed600 + const ColorRed700 + const ColorRed800 + const ColorRed900 + const ColorRed950 + const ColorTeal100 + const ColorTeal200 + const ColorTeal300 + const ColorTeal400 + const ColorTeal50 + const ColorTeal500 + const ColorTeal600 + const ColorTeal700 + const ColorTeal800 + const ColorTeal900 + const ColorTeal950 + const ColorWhite + const ColorYellow100 + const ColorYellow200 + const ColorYellow300 + const ColorYellow400 + const ColorYellow50 + const ColorYellow500 + const ColorYellow600 + const ColorYellow700 + const ColorYellow800 + const ColorYellow900 + const ColorYellow950 + var AccentStyle = ...(lipgloss.Color(ColorPurple400)) + var BoldStyle = ...(true) + var BoxStyle = ...(0, 1) + var CodeStyle = ...(lipgloss.Color(ColorBlue300)) + var CommandStyle = ...(lipgloss.Color(ColorBlue400)) + var DimStyle = ...(lipgloss.Color(ColorGray500)) + var ErrorStyle = ...(lipgloss.Color(ColorRed400)) + var HighlightStyle = ...(lipgloss.Color(ColorYellow300)) + var StepStyle = ...(lipgloss.Color(ColorBlue400)) + var SuccessStyle = ...(lipgloss.Color(ColorGreen400)) + var TitleStyle = ...(lipgloss.Color(ColorBlue500)) + var URLStyle = ...(lipgloss.Color(ColorTeal400)) + var WarningStyle = ...(lipgloss.Color(ColorYellow400)) + func Bold(text string) + func Box(text string) + func ChainlinkKeyMap() *huh.KeyMap + func ChainlinkTheme() *huh.Theme + func Code(text string) + func Command(text string) + func Confirm(title string, opts ...ConfirmOption) (bool, error) + func Dim(text string) + func DownloadWithProgress(resp io.ReadCloser, contentLength int64, destFile *os.File, message string) error + func Error(text string) + func ErrorWithHelp(text, suggestion string) + func ErrorWithSuggestions(text string, suggestions []string) + func FormatBytes(bytes int64) string + func Indent(text string, level int) string + func Input(title string, opts ...InputOption) (string, error) + func InputForm(fields []InputField) error + func Line() + func Print(text string) + func Printf(format string, args ...interface{}) + func ProgressBar(percent float64, width int) string + func RenderAccent(text string) string + func RenderBold(text string) string + func RenderCode(text string) string + func RenderCommand(text string) string + func RenderDim(text string) string + func RenderError(text string) string + func RenderStep(text string) string + func RenderSuccess(text string) string + func RenderTitle(text string) string + func RenderURL(text string) string + func RenderWarning(text string) string + func Select[T comparable](title string, options []SelectOption[T]) (T, error) + func SetVerbose(v bool) + func Step(text string) + func Success(text string) + func Title(text string) + func URL(text string) + func Warning(text string) + func WarningWithHelp(text, suggestion string) + func WarningWithSuggestions(text string, suggestions []string) + func WithSpinner(message string, fn func() error) error + func WithSpinnerResult[T any](message string, fn func() (T, error)) (T, error) + type ConfirmOption func(*confirmConfig) + func WithDescription(desc string) ConfirmOption + func WithLabels(affirmative, negative string) ConfirmOption + type InputField struct + Description string + Placeholder string + Suggestions []string + Title string + Validate func(string) error + Value *string + type InputOption func(*inputConfig) + func WithInputDescription(desc string) InputOption + func WithPlaceholder(placeholder string) InputOption + type SelectOption struct + Label string + Value T + type Spinner struct + func GlobalSpinner() *Spinner + func NewSpinner() *Spinner + func (s *Spinner) Run(message string, fn func() error) error + func (s *Spinner) Start(message string) + func (s *Spinner) Stop() + func (s *Spinner) StopAll() + func (s *Spinner) Update(message string)