Versions in this module Expand all Collapse all v0 v0.17.0 Jul 8, 2026 v0.16.0 Jul 8, 2026 Changes in this version + type Model struct + func New(opts Options) Model + func (m *Model) Blur() + func (m *Model) Focus() tea.Cmd + func (m *Model) SetActiveColor(c lipgloss.TerminalColor) + func (m *Model) SetInactiveColor(c lipgloss.TerminalColor) + func (m *Model) SetSelectedStyle(s lipgloss.Style) + func (m *Model) SetTitle(s string) + func (m *Model) SetUnselectedStyle(s lipgloss.Style) + func (m *Model) SetValue(v bool) + func (m *Model) SetWidth(w int) + func (m Model) Focused() bool + func (m Model) Help() []key.Binding + func (m Model) Init() tea.Cmd + func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) + func (m Model) Value() bool + func (m Model) View() string + type Options struct + ActiveBorder lipgloss.Border + ActiveColor lipgloss.TerminalColor + InactiveBorder lipgloss.Border + InactiveColor lipgloss.TerminalColor + Initial bool + NoLabel string + SelectedStyle lipgloss.Style + SlotBrackets pane.SlotBracketStyle + Title string + UnselectedStyle lipgloss.Style + Width int + YesLabel string