Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Dream API for macOS menu bar apps
struct MyApp: App {
var body: some Scene {
StatusBar {
StatusItem(id: "foo", systemImage: "gear") {
Menu {
Button("Toggle") {}
Button("Quit") {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment