Repolode
fyne-io

fyne-io/fyne

A cross-platform GUI toolkit and app API for Go, designed to build desktop and mobile apps from a single codebase.

Stars
28,764
Forks
1,568
Open issues
742
Last commit
3 days ago

What is it?

Fyne is a UI toolkit and app API written in Go. It lets developers build graphical applications that run on desktop and mobile devices from a single codebase, with a Material Design-inspired look.

Apps are written in plain Go: a window is created from an app instance, and widgets such as labels and buttons are placed into containers. The project provides a `fyne` command-line utility for packaging, installing and releasing apps, including builds for Android, iOS and the iOS simulator. A mobile simulation mode lets developers preview how an app behaves on a phone without a device.

Fyne requires Go 1.22 or later and a C compiler. Its API reference is published on pkg.go.dev, and a demo application showcasing its widgets can be installed with a single go install command.

Key features

  • 01Builds desktop and mobile GUI apps from one Go codebase.
  • 02Provides widgets and containers with a Material Design-inspired look.
  • 03Includes the fyne CLI for packaging, installing and releasing apps.
  • 04Supports Android and iOS packaging, plus an iOS simulator target.
  • 05Offers a mobile simulation mode for previewing layouts on desktop.

Use cases

  • Writing cross-platform desktop tools in Go without a separate frontend stack.
  • Prototyping a mobile app UI in Go and previewing it on a computer.
  • Packaging a Go application for Android or iOS app distribution.

Quick start

  1. 1

    Ensure Go 1.22 or later and a C compiler are installed

  2. 2

    Install the Fyne widget demo

    go install fyne.io/demo@latest
  3. 3

    Run the demo

    demo

Things to know

  • Building requires a C compiler and system development tools.
  • The first compilation on Windows can take up to 10 minutes.

Topics

FAQ

What is fyne?
A cross-platform GUI toolkit and app API for Go, designed to build desktop and mobile apps from a single codebase. Fyne is a UI toolkit and app API written in Go. It lets developers build graphical applications that run on desktop and mobile devices from a single codebase, with a Material Design-inspired look.
Is fyne free to use? What license does it have?
fyne is open source under the BSD-3-Clause license. Check the license terms before using it in commercial products.
Is fyne still maintained?
Actively maintained. The last commit to fyne was on Oct 19, 2026.
What can I use fyne for?
Writing cross-platform desktop tools in Go without a separate frontend stack. Prototyping a mobile app UI in Go and previewing it on a computer. Packaging a Go application for Android or iOS app distribution.
How do I install fyne?
Ensure Go 1.22 or later and a C compiler are installed Install the Fyne widget demo: go install fyne.io/demo@latest Run the demo: demo
Where can I get fyne?
The source code and installation instructions are on GitHub: https://github.com/fyne-io/fyne

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects