/examples

Examples apps using the Fyne toolkit

Primary LanguageGoOtherNOASSERTION

Code Status Join us on Slack Support Fyne.io
Build Status Coverage Status

Fyne Examples

Here we will gather example apps that use the Fyne toolkit.

You can start the main example app that links to all the others by running

go run .

All these examples are fully scalable - try setting the FYNE_SCALE environment variable to override the detection of your screen's density. Many also respond to the current theme (this is default behaviour for apps built using Fyne widgets) - you can try setting FYNE_THEME=light to change from the default dark theme.

Widget based examples

The following examples use mostly built in widgets making applications trivial to build :).

Calculator

Moved to calculator repository

Bugs game (like MineSweeper)

Hunt the squares to reveal everything apart from the bugs!

XKCD

An XKCD comic browser with random and lookup features.

Graphics based examples

These examples use the Fyne canvas API to draw primitive shapes, text and images to create custom user interfaces.

Clock

A simple analog clock that matches the current theme.

 

Fractal

A fractal viewer that can be panned and zoomed

Solitaire

Moved to solitaire repository

Life

Moved to life repository