IMPORTANT: This project is a work in progress.
Terminal UI component that allows you creating a palette (matrix) of items. Based on Lipgloss
Get the lip-palette module
go get github.com/misha-slyusarev/lip-palette@v0.1.0Then in your code use it together with Bubbletea
package ui
import (
tea "github.com/charmbracelet/bubbletea"
palette "github.com/misha-slyusarev/lip-palette"
)
type mainPageModel struct {
plt palette.Model
}
func (m mainPageModel) Init() tea.Cmd {
return tea.EnterAltScreen
}
...This project is in experimentation mode right now. Here is an example of me using the library in another project to display 15 objects on the screen and navigate through them.
