Blog GitHub

Cross-platform
Immediate Mode
GUI framework for Go

Example programs

Complete Go apps built with Shirei. Explore the source for each one.

More examples

markdown_viewer

Fast Markdown reader with GFM tables, code blocks, quick-open, and OS dark mode.

piano

A playable keyboard with a few synth voices — works well on desktop and mobile (multi-touch).

fontviewer

Quickly visualize all system fonts at a glance. Helps you quickly choose a font.

icons

A filterable gallery of the bundled icon fonts.

see_pprof

Visualizes profiling data from .pprof files in a GUI app; without launching a web server.

Hacker News feed in light mode

hacker-news-reader

Hacker news feed and comment threads. Powered by the firebase hacker news API.

Interactive demos

Balls & Buckets

Drag-and-drop balls into lettered buckets.

Kanban

Drag cards between lanes.

Theme

Themed controls and scroll regions.

Style spans

Inline text styling with Span.

Layout

Row and column layout playground.

Animate size

Layout size easing vs snap.

Custom widgets

Buttons

ProcessButtonEvents with Material, Win98, and XP skins.

Toggles

Toggle skins on the same press model as checkboxes.

Checkboxes

Custom checkbox chrome via ProcessButtonEvents.

Radios

Mutually exclusive options with Material and Luna skins.

Sliders

ProcessSlider with Apple, Material, and XP handles.

Segmented

ProcessSegmentEvents — modern pill and iOS 7 styles.

Text inputs

ProcessTextInput with Material and Luna field chrome.

Scrollbars

ScrollBarExt skins and the default overlay bar.

Icon fonts

Third-party icon font registered with UseFontBytes.