Desinda InterfaceAPI is a powerful, full-fledged UI library with a strong set of widgets, custom animations, transitions, theming, built-in IME support, RTL text rendering and bi-directional text, SVG icon support, common barcodes (Code128, EAN-13 and QR codes), PDF writer, and more.
The purpose of InterfaceAPI is to provide a UI library for data heavy applications in a data-oriented programming language. It is primarily offered in Odin.
- A large widget set containing more than 40 different widgets, including basic controls (buttons, combo boxes, sliders, menus), containers (panels, split panels, accordions, grid panels, flow panels, tab controls, etc.), data views (list view, tree view), complex widgets (node panel, timeline), text input (TextField, CodeField, FreeFormTextField), and dozens more.
- Video support with permissive licences for video and audio decoding (dav1d, OpenH264, libvorbis, etc.)
- AAC-LC decoder built-in
- Barcodes - Code128, EAN-13, QR
- Text rendering with Harfbuzz and loading with FreeType
- Syntax highlighting in CodeField with hard-coded example languages: GLSL, Haxe, Json, Lua, Markdown, Odin & XML
- Built-in IME support for Arabic, Chinese, Hebrew, Hindi, Japanese, Korean, Russian and Thai
- Standard and common set of SVG Icons
- Full PDF Writer support
- SVG Parser and Renderer
- Basic Email support
- Theming system
- Animations and animation sequences
- Styling transition and effects
- A full drawing primitive system with SDF rendering
- Custom Object design with a command-based drawing system
- Event handling via flag checks (is_clicked, was_pressed, etc.)
- HotKey system and application registry
- Form Generation for data synchronization and validation (JSON support built-in)
- And more...
package main
import interface "vendor:InterfaceAPI"
main :: proc() {
launch_options := interface.create_default_launch_options("My Project", 1280, 720)
app := interface.create_app(launch_options)
// 1. InterfaceAPI initialisation code here
interface.app_init_window(app)
interface.app_init_framework(app)
// 2. Resource initialisation code here
// 3. build your object tree here
for app.__running {
interface.app_update(app)
// 4. handle widget events here
interface.app_render(app)
}
interface.app_destroy(app)
interface.app_close_window(app)
interface.dispose_app(app)
}This library is tested against the April build of the Odin compiler.
Pre-requisites for building applications with this library can be found in the TUTORIAL.md guide.
The test/ directory contains source code for both a demo application showing off all the widgets that exist, plus an interactive tutorial and reference guide.
Copyright 2026 Desinda and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.



