flit

A Flutter-inspired UI toolkit for Nim. Declarative widgets, real GPU rendering, single codebase for desktop, mobile, web, and embedded.

v0.8.0 BSD-3-Clause Nim 2.0+

Quick start

brew install nim sdl2 harfbuzz
git clone https://github.com/atul1503/flit
cd flit && nimble install
flit create my_app && cd my_app && flit run

Guide

API reference

Performance subsystems

flit ships with the perf features Flutter has: GPU shaders, cached layers, lazy lists, HarfBuzz text shaping, and a worker thread pool. See the performance guide for what each does and when to use it.

Examples

Every example is a complete runnable app in the repo at examples/. Clone the repo and run:

nim c -r examples/showcase/main.nim

Repository

Source: github.com/atul1503/flit
Issues: github.com/atul1503/flit/issues