texus/TGUI

Cross-platform modern C++ GUI

C++

1,077

3,407 commits

updated Oct 4, 2026

See the code

README

TGUI - Texus' Graphical User Interface

TGUI is a cross-platform modern C++ GUI library. Although originally a library for SFML, it now also has backends for SDL, GLFW and raylib.

For more information, take a look at the website.

TGUI 0.10 White theme TGUI 0.10 Black theme

Status

CI Github Actions Code coverage

OS support for each backend:

WindowsLinuxmacOSAndroidiOSEmscripten
SFML_GRAPHICS✔️✔️✔️✔️✔️ ❓N/A
SFML_OPENGL3✔️✔️✔️N/AN/AN/A
SDL_GPU✔️✔️❓✔️❓N/A
SDL_RENDERER✔️✔️✔️✔️✔️ ❓✔️
SDL_TTF_OPENGL3✔️✔️✔️N/AN/AN/A
SDL_TTF_GLES2✔️N/A✔️✔️ ❓✔️
SDL_OPENGL3✔️✔️✔️N/AN/AN/A
SDL_GLES2✔️N/A✔️
GLFW_OPENGL3✔️✔️✔️N/AN/AN/A
GLFW_GLES2✔️N/AN/AN/A✔️
RAYLIB✔️✔️✔️✔️N/A✔️

Dependencies for each backend:

Window backendFont backendRendering backend
SFML_GRAPHICSsfml-window (>= 2.5)sfml-graphics (>= 2.5)sfml-graphics (>= 2.5)
SFML_OPENGL3sfml-window (>= 2.5)FreeType (>= 2.6)OpenGL (>= 3.3)
SDL_GPUSDL (>= 3.2)SDL_ttf (>= 3.2)SDL (>= 3.2)
SDL_RENDERERSDL (>= 2.0.18)SDL_ttf (>= 2.0.14)SDL (>= 2.0.18)
SDL_TTF_OPENGL3SDL (>= 2.0.6)SDL_ttf (>= 2.0.14)OpenGL (>= 3.3)
SDL_TTF_GLES2SDL (>= 2.0.6)SDL_ttf (>= 2.0.14)OpenGL ES (>= 2.0)
SDL_OPENGL3SDL (>= 2.0.6)FreeType (>= 2.6)OpenGL (>= 3.3)
SDL_GLES2SDL (>= 2.0.6)FreeType (>= 2.6)OpenGL ES (>= 2.0)
GLFW_OPENGL3GLFW (>= 3.2)FreeType (>= 2.6)OpenGL (>= 3.3)
GLFW_GLES2GLFW (>= 3.2)FreeType (>= 2.6)OpenGL ES (>= 2.0)
RAYLIBraylib (>= 4.2)raylib (>= 4.2)raylib (>= 4.2)

Download

You can download the source code of the current development version from the git repository: Download ZIP

Precompiled libraries for some compilers are available for each release.

Learn

Contact

Name: Bruno Van de Velde

E-mail: vdv_b@tgui.eu

Discord

Sponsor with GitHub Donate

c-plus-plus
cross-platform
gamedev
gui
sfml
tgui
ui

texus/TGUI

Cross-platform modern C++ GUI

C++

1,077

3,407 commits

updated Oct 4, 2026

See the code

README

TGUI - Texus' Graphical User Interface

TGUI is a cross-platform modern C++ GUI library. Although originally a library for SFML, it now also has backends for SDL, GLFW and raylib.

For more information, take a look at the website.

TGUI 0.10 White theme TGUI 0.10 Black theme

Status

CI Github Actions Code coverage

OS support for each backend:

WindowsLinuxmacOSAndroidiOSEmscripten
SFML_GRAPHICS✔️✔️✔️✔️✔️ ❓N/A
SFML_OPENGL3✔️✔️✔️N/AN/AN/A
SDL_GPU✔️✔️❓✔️❓N/A
SDL_RENDERER✔️✔️✔️✔️✔️ ❓✔️
SDL_TTF_OPENGL3✔️✔️✔️N/AN/AN/A
SDL_TTF_GLES2✔️N/A✔️✔️ ❓✔️
SDL_OPENGL3✔️✔️✔️N/AN/AN/A
SDL_GLES2✔️N/A✔️
GLFW_OPENGL3✔️✔️✔️N/AN/AN/A
GLFW_GLES2✔️N/AN/AN/A✔️
RAYLIB✔️✔️✔️✔️N/A✔️

Dependencies for each backend:

Window backendFont backendRendering backend
SFML_GRAPHICSsfml-window (>= 2.5)sfml-graphics (>= 2.5)sfml-graphics (>= 2.5)
SFML_OPENGL3sfml-window (>= 2.5)FreeType (>= 2.6)OpenGL (>= 3.3)
SDL_GPUSDL (>= 3.2)SDL_ttf (>= 3.2)SDL (>= 3.2)
SDL_RENDERERSDL (>= 2.0.18)SDL_ttf (>= 2.0.14)SDL (>= 2.0.18)
SDL_TTF_OPENGL3SDL (>= 2.0.6)SDL_ttf (>= 2.0.14)OpenGL (>= 3.3)
SDL_TTF_GLES2SDL (>= 2.0.6)SDL_ttf (>= 2.0.14)OpenGL ES (>= 2.0)
SDL_OPENGL3SDL (>= 2.0.6)FreeType (>= 2.6)OpenGL (>= 3.3)
SDL_GLES2SDL (>= 2.0.6)FreeType (>= 2.6)OpenGL ES (>= 2.0)
GLFW_OPENGL3GLFW (>= 3.2)FreeType (>= 2.6)OpenGL (>= 3.3)
GLFW_GLES2GLFW (>= 3.2)FreeType (>= 2.6)OpenGL ES (>= 2.0)
RAYLIBraylib (>= 4.2)raylib (>= 4.2)raylib (>= 4.2)

Download

You can download the source code of the current development version from the git repository: Download ZIP

Precompiled libraries for some compilers are available for each release.

Learn

Contact

Name: Bruno Van de Velde

E-mail: vdv_b@tgui.eu

Discord

Sponsor with GitHub Donate

c-plus-plus
cross-platform
gamedev
gui
sfml
tgui
ui

Project health

Overall

3.7/10

Maintained

10/10

Code review

4/10
OpenSSF Scorecard

Significant stargazers

Rafael Gonzaga

1,614 followers · starred Apr 2020

Konstantin Podsvirov

45 followers · starred Dec 2023

Tanzinul Islam

8 followers · starred Nov 2020

Liu

392 followers · starred Jun 2021