qmetrics.net

Clay Layout

High performance C UI auto layout library

Libraries & SDKsDesktop/CLI app
Clay Layout screenshot

Clay is a 2D UI layout engine in C with a flex-box-like model, declarative element macros, and microsecond-scale layout times. It emits renderer-agnostic primitives for games, native apps, WASM in the browser, or HTML.

Overview

Clay (C Layout) targets developers who need responsive interface layout without tying themselves to one graphics stack. It uses nested declarative macros in C that mirror familiar UI hierarchy patterns while remaining ordinary C code with loops and conditionals.

The layout model supports text wrapping, scroll containers, aspect-ratio scaling, floating overlays, and pointer-driven scrolling. A transition API can animate layout and style properties. Layout results arrive as a sorted list of render commands (rectangles, text, images) that any engine or an HTML backend can consume.

The implementation ships as a single header with no external dependencies and static arena memory without malloc. It can compile to a small WASM bundle for browser use. Official examples include Raylib, WebGL canvas, and an HTML renderer; the project site itself is laid out with Clay.

Built-in inspector-style debug tooling overlays hierarchy and configuration. Bindings and ports exist for languages beyond C, listed in the project documentation.

Key features

  • Microsecond layout performance
  • Flex-box-like responsive model
  • Single header, zero dependencies
  • WASM build for browsers
  • Static arena memory, no malloc
  • Transition API for animations
  • Renderer-agnostic render commands
  • Built-in layout debug inspector

Use cases

  • Custom game engine UI layout
  • Browser UIs via WASM
  • Retained-mode rendering integration
  • Immediate-mode UI redraw each frame

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
AI Assisted CodingDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Libraries & SDKsDesktop/CLI app

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

★ 198.7k⟳ 21 days agoMIT
Libraries & SDKsDesktop/CLI app

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ yesterdayApache-2.0

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

★ 122.3k⟳ yesterdayMIT
AI Assisted CodingDesktop/CLI app