examples/

directory
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT

Directories

Path Synopsis
Clipboard demonstrates one data model for copying and dragging a note.
Clipboard demonstrates one data model for copying and dragging a note.
Counter-native is a counter in native UI: a window MyGo draws itself from Go, with no web page.
Counter-native is a counter in native UI: a window MyGo draws itself from Go, with no web page.
Drag-drop exchanges notes, text, URLs and files between two native UI windows and other applications.
Drag-drop exchanges notes, text, URLs and files between two native UI windows and other applications.
Effort-slider redraws ozzy's "galaxy brain effort slider" demo (https://x.com/ozzyxs1a/status/2107523169649389677) in native UI: a card whose slider steps from Low to Max with a brain for a thumb, and past Max into Galaxy, where the brain bursts, the card shakes, the track fills with twinkling pixels and dotted rays stream out of the brain.
Effort-slider redraws ozzy's "galaxy brain effort slider" demo (https://x.com/ozzyxs1a/status/2107523169649389677) in native UI: a card whose slider steps from Low to Max with a brain for a thumb, and past Max into Galaxy, where the brain bursts, the card shakes, the track fills with twinkling pixels and dotted rays stream out of the brain.
Frameless shows a window without native chrome: the page draws its own title bar, marks it draggable with `--app-region: drag` and drives the window through the built-in window.mygo.window controls.
Frameless shows a window without native chrome: the page draws its own title bar, marks it draggable with `--app-region: drag` and drives the window through the built-in window.mygo.window controls.
Gallery tours MyGo's own user interface toolkit: a window drawn on the GPU from Go, without a web page.
Gallery tours MyGo's own user interface toolkit: a window drawn on the GPU from Go, without a web page.
Hello is the smallest MyGo app: one window and one Go method called from the page.
Hello is the smallest MyGo app: one window and one Go method called from the page.
Menubar-native is a menu bar app whose icon opens a window of native UI.
Menubar-native is a menu bar app whose icon opens a window of native UI.
Native tours the desktop integration: application and context menus, a tray icon, dialogs, notifications, a global shortcut, the clipboard and dark mode.
Native tours the desktop integration: application and context menus, a tray icon, dialogs, notifications, a global shortcut, the clipboard and dark mode.
Terminal is a terminal app in native UI: the user's shell in a window, with the terminal plugin, which emulates it with Ghostty's libghostty-vt.
Terminal is a terminal app in native UI: the user's shell in a window, with the terminal plugin, which emulates it with Ghostty's libghostty-vt.
A large editable document backed by indexed text chunks.
A large editable document backed by indexed text chunks.
A custom text field built from MyGo's text-input and layout primitives.
A custom text field built from MyGo's text-input and layout primitives.
Todo is a small but complete MyGo app: typed services and events shared with a TypeScript frontend, persistence, dialogs, menus and multiple windows kept in sync.
Todo is a small but complete MyGo app: typed services and events shared with a TypeScript frontend, persistence, dialogs, menus and multiple windows kept in sync.
Vibrancy shows a window in the style of a native macOS app, in native UI: a sidebar over a translucent material, under a hidden title bar whose window controls sit over the view, the traffic lights inset over the sidebar on macOS.
Vibrancy shows a window in the style of a native macOS app, in native UI: a sidebar over a translucent material, under a hidden title bar whose window controls sit over the view, the traffic lights inset over the sidebar on macOS.

Jump to

Keyboard shortcuts

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