Lobe MyGo Native Go UI
Lobe UI components for MyGo desktop apps, drawn on the GPU in pure Go.
Send this prompt to your agent to pick the right components
Read https://mygo.lobehub.com/skills.md and follow it to build native UI with Lobe MyGo.Lobe UI, drawn in Go
Every tile is a real render of the Go component, in the docs' own light or dark.
Code you write, UI you get
Immediate-mode Go: a view is a function, state is your own variables.
var (
count int
primary = action.ButtonProps{Variant: action.Primary}
)
func Hello(c *ui.Context) {
theme.Apply(c)
ui.Column(c).Gap(12).Children(func() {
if action.Button(c, "Hello", primary).Clicked() {
count++
}
ui.Text(c, fmt.Sprintf("Clicked %d times", count))
})
}One design language, two runtimes
The foundations a desktop app needs, shared with the web.
Lobe UI, in Go
Buttons, inputs, menus, overlays, chat views and more that look and move like their React counterparts.
Same tokens as Lobe UI
Colors, radii and type sizes are generated from @lobehub/ui, so a Go app and a web app share one look.
Light and dark built in
theme.Apply follows the system appearance; every component reads its tokens from the theme.
Pure Go, no cgo
One small binary per platform, cross-compiled from any machine, with no webview to ship.
Motion included
Springs and shared-element transitions for indicators, overlays, toasts and side navs.
Lucide icons
All 2,300+ Lucide icons as Go functions, drawn as vectors at any size.