This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: "Fyne" software – news · newspapers · books · scholar · JSTOR (August 2021) (Learn how and when to remove this template message)
Original author(s)Andrew Williams
Developer(s)Andrew Williams, Cedric Bail, Changkun Ou, Charles Daniels, Jacob Alzén, Luca Corbo, Pablo Fuentes, Steve O'Connor, Stephen Houston, Stuart Scott, Tilo Prütz
Initial releaseFebruary 5, 2018; 5 years ago (2018-02-05)
Stable release
2.3.0 / December 24, 2022; 2 months ago (2022-12-24)[1]
Written inGo
Operating systemLinux, Unix-like, macOS, Windows, IOS, Android (operating system)
TypeWidget toolkit
LicenseNew BSD License

Fyne is a free and open-source cross-platform widget toolkit for creating graphical user interfaces (GUIs) across desktop and mobile platforms. Fyne uses OpenGL to provide cross-platform graphics. It is inspired by the principles of Material Design to create applications that look and behave consistently across all platforms.[2] It is licensed under the terms of the 3-clause BSD License, supporting the creation of free and proprietary applications. In December 2019 Fyne became the most popular GUI toolkit for Go, by GitHub star count[3] and in early February 2020 it was trending as #1 project in GitHub trending ranks.[4]


Fyne is currently developed by a team of volunteers and is supported by around 40 contributors.[5] Members of this group also work on the FyneDesk project to create a new Linux desktop environment.[6]

The Fyne toolkit is written primarily in Go.[7] The team focuses on clean APIs and follows the principles of Clean Code to sustain maintainability of the project.[8] All Fyne projects are continuously tested to check correctness, stability as well as formatting and documentation.[9][10]


The code required for a simple "Hello World" application is minimal, as follows:

package main

import (

func main() {
    a := app.New()
    w := a.NewWindow("Hello")

    hello := widget.NewLabel("Hello Fyne!")
        widget.NewButton("Hi!", func() {
            hello.SetText("Welcome :)")


To build this application you will need the Go language and a C compiler installed, as well as a graphics driver that supports OpenGL. It can be built and run using the command: $ go run main.go


Design of the Fyne API and user interface components follows a careful process to ensure the simplicity.[11] The Fyne toolkit is built in various layers, with each in separate packages. Notable layers include:[12]


API, or Application programming interface, is an interface or protocol that allows for communication across different parts of the software. Fyne has a self-documenting API that is also extensible resulting in the ability for each developer to create custom tools unique to their project that will mesh with Fyne itself.

Vector graphics

The use of vector graphics to paint the UI provides a method of adapting to different device and display sizes without losing image fidelity. This allows the programmer to only need to create the UI once and it will look as expected on any device.



Canvas contains all of the contents of a window ranging from the full screen to a group of CanvasObjects.


CanvasObjects are what actually get rendered on screen such as Text, Rectangle, Line. The objects store size, position and color information for the rendering process.


Containers are groups of CanvasObjects, each container can specify a layout which will contain the sizing and position of its child components. Layouts help the developer arrange components in a manner that response to the container or window size, with several layout types provided including Border, Center, and Grid.


All of the components of a window in a CanvasObject are widgets that contain standard user interface elements. Fyne widgets include but are not limited to UI basics such as: Button, Check, Form, Hyperlink, Label, Radio, Select and Toolbar as well as container widgets like AppTabs and Split. Since 1.4 there are additional collection widgets that provide high-performance presentation of large data in a List, Table or Tree view. All the built-in UI widgets ensure that standard aspects of GUI interactivity act in a predictable and expected way across applications. This helps improve quality of programs while assisting the programmer by removing the need for them to create these tools themself.


All components of Fyne are split into packages and then connected via the API to create a final GUI application. In addition to the canvas, layout, and widget packages, notable packages include:


The largest project currently using the Fyne toolkit is the FyneDesk project, a complete desktop environment for Linux.[13]

There are many other applications being built using the toolkit, those that are open source can be found in an application listing[14] website managed by the project.

Many businesses are using the Fyne toolkit to quickly add a graphical user interface to command line tools which they have already built using Go.[citation needed]



Issue 299 of Golang Weekly noted the new mobile support from the Fyne project but suggested the design aesthetic was less Material Design and more "generally Linux-y".[22]


  1. ^ "A fresh new look, richer text and cloud integration delivers Christmas cheer!". 2022-12-24.
  2. ^ "Scaling and Geometry".
  3. ^ Fyne [@Fyne_io] (2019-12-19). "We are very excited to announce that Fyne is now the most popular* GUI toolkit for Go! Great news and a huge milestone :). Now we need to figure how to bring the joy of Fyne to the wider coding community. [*] According to GitHub stargazer count ⭐️ #golang #winning #future" (Tweet). Retrieved 2021-01-07 – via Twitter.
  4. ^ Fyne [@Fyne_io] (2020-02-11). "Oh wow, the ⁦@Fyne_io⁩ project is currently in the #1 slot on GitHub trending list!!! #congratulations #goland #gui #trending" (Tweet). Retrieved 2021-01-07 – via Twitter.
  5. ^ "Contributors to fyne-io/fyne · GitHub". GitHub. 2020-02-25.
  6. ^ Houston, Stephen [@stephenmhouston] (2019-12-31). "I am so proud of how far we have made it with this desktop in less than a year of work. It is a really great experience and very aesthetically pleasing. Please consider using it if you are a #linux user! #fyne #golang #go #linuxdesktop #desktop" (Tweet). Retrieved 2021-01-07 – via Twitter.
  7. ^ "Unusual uses for Go: GUIs (Go Time #116)".
  8. ^ "fyne/ at master · fyne-io/fyne · GitHub". GitHub. 2020-02-25.
  9. ^ " - Travis CI".
  10. ^ " - Test Coverage History and Statistics".
  11. ^ "The careful process behind Fyne's simplicity".
  12. ^ Archived at Ghostarchive and the Wayback Machine: "GoLab 2019 - Andrew Williams - Easily build cross platform graphical applications with Fyne". YouTube.
  13. ^ "A full desktop environment for Linux/Unix using Fyne: Fyne-io/Desktop". GitHub. 2020-02-24.
  14. ^ "Fyne Apps Listing".
  15. ^ "v2.1 for RichText and DocTabs goodness :) · fyne-io/fyne · GitHub". GitHub. 2021-10-22.
  16. ^ "Data binding, storage repositories and animation take Fyne to the next level! · fyne-io/fyne · GitHub". GitHub. 2021-01-25.
  17. ^ "A polished theme and new collections widgets headline our 1.4 release · fyne-io/fyne · GitHub". GitHub. 2020-11-09.
  18. ^ "Version 1.3 just 1000 commits later! · fyne-io/fyne · GitHub". GitHub. 2020-11-09.
  19. ^ "Release 1.2 brings Mobile Support · fyne-io/fyne · GitHub". GitHub. 2020-02-25.
  20. ^ "Release v1.1 feature release · fyne-io/fyne · GitHub". GitHub. 2020-02-25.
  21. ^ "Release Fyne's first major release · fyne-io/fyne · GitHub". GitHub. 2020-02-25.
  22. ^ "Golang Weekly Issue 299: February 14, 2020".