{"name":"Fyne: A Cross-Platform GUI Toolkit in Go Inspired by Material Design","description":"Fyne is an easy-to-use UI toolkit and application API written in Go, designed to build cross-platform applications. It allows developers to create desktop and mobile apps from a single codebase, drawing inspiration from Material Design principles. With Fyne, you can develop elegant and functional graphical user interfaces efficiently.","github":"https://github.com/fyne-io/fyne","url":"https://osrepos.com/repo/fyne-io-fyne","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/fyne-io-fyne","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/fyne-io-fyne.md","json":"https://osrepos.com/repo/fyne-io-fyne.json","topics":["fyne","go","golang","gui","cross-platform","android","ios","toolkit"],"keywords":["fyne","go","golang","gui","cross-platform","android","ios","toolkit"],"stars":null,"summary":"Fyne is an easy-to-use UI toolkit and application API written in Go, designed to build cross-platform applications. It allows developers to create desktop and mobile apps from a single codebase, drawing inspiration from Material Design principles. With Fyne, you can develop elegant and functional graphical user interfaces efficiently.","content":"## Introduction\n\nFyne is an easy-to-use UI toolkit and application API written in Go. It is designed to build applications that run on desktop and mobile devices with a single codebase, inspired by Material Design. This powerful toolkit simplifies GUI development, allowing developers to create elegant and performant applications across various platforms including Android, iOS, Windows, macOS, and Linux.\n\n## Installation\n\nTo get started with Fyne, you will need Go version 1.17 or later, a C compiler, and your system's development tools. Once these prerequisites are met, you can install Fyne's core library using the standard Go tools:\n\nbash\ngo get fyne.io/fyne/v2@latest\n\n\nAfter importing a new module, run the following command before compiling your code for the first time:\n\nbash\ngo mod tidy\n\n\nYou can also run a showcase of Fyne's features by installing and running the demo application:\n\nbash\ngo install fyne.io/fyne/v2/cmd/fyne_demo@latest\nfyne_demo\n\n\n## Examples\n\nFyne is designed for ease of coding. Here is a simple \"Hello Fyne!\" application:\n\ngo\npackage main\n\nimport (\n\t\"fyne.io/fyne/v2/app\"\n\t\"fyne.io/fyne/v2/container\"\n\t\"fyne.io/fyne/v2/widget\"\n)\n\nfunc main() {\n\ta := app.New()\n\tw := a.NewWindow(\"Hello\")\n\n\thello := widget.NewLabel(\"Hello Fyne!\")\n\tw.SetContent(container.NewVBox(\n\t\thello,\n\t\twidget.NewButton(\"Hi!\", func() {\n\t\t\thello.SetText(\"Welcome :)\")\n\t\t}),\n\t))\n\n\tw.ShowAndRun()\n}\n\n\nYou can run this application with:\n\nbash\ngo run main.go\n\n\nFor more examples, explore the [Fyne examples repository](https://github.com/fyne-io/examples/ \"Fyne Examples Repository\" target=\"_blank\").\n\n## Why Use Fyne?\n\nFyne offers several compelling reasons for developers to choose it for GUI development:\n\n*   **Cross-Platform Compatibility**: Build applications for desktop (Windows, macOS, Linux) and mobile (Android, iOS) from a single Go codebase.\n*   **Material Design Inspired**: Applications built with Fyne feature a modern, clean, and consistent user interface inspired by Google's Material Design.\n*   **Simplicity and Ease of Use**: The API is designed to be straightforward, allowing developers to quickly create functional and aesthetically pleasing GUIs.\n*   **Go Native**: Leveraging the power and performance of the Go language, Fyne applications are efficient and robust.\n*   **No External Dependencies**: Fyne applications are self-contained and do not require pre-installed libraries on the target system, making them highly portable.\n\n## Links\n\n*   **GitHub Repository**: [https://github.com/fyne-io/fyne](https://github.com/fyne-io/fyne \"Fyne GitHub Repository\" target=\"_blank\")\n*   **Official Website**: [https://fyne.io](https://fyne.io \"Fyne Official Website\" target=\"_blank\")\n*   **Developer Documentation**: [https://developer.fyne.io/](https://developer.fyne.io/ \"Fyne Developer Documentation\" target=\"_blank\")\n*   **Go API Reference**: [https://pkg.go.dev/fyne.io/fyne/v2?tab=doc](https://pkg.go.dev/fyne.io/fyne/v2?tab=doc \"Fyne Go API Reference\" target=\"_blank\")\n*   **Examples Repository**: [https://github.com/fyne-io/examples/](https://github.com/fyne-io/examples/ \"Fyne Examples Repository\" target=\"_blank\")\n*   **Applications Built with Fyne**: [https://apps.fyne.io/](https://apps.fyne.io/ \"Applications Built with Fyne\" target=\"_blank\")","metrics":{"detailViews":7,"githubClicks":4},"dates":{"published":null,"modified":"2026-01-16T16:01:14.000Z"}}