awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
nicbarker avatar

nicbarker/clay

0
View on GitHub↗
17,443 estrellas·687 forks·C·Zlib·8 vistasnicbarker.com/clay↗

Clay

Clay is a header-only layout engine designed for C and C++ applications that computes element positions and dimensions using a declarative box model. By operating as an immediate-mode framework, it calculates interface geometry dynamically on every frame, allowing for the creation of responsive and fluid user interfaces without maintaining persistent state.

The library functions as a platform-agnostic tool that decouples layout logic from specific graphics backends. It provides a flexible coordinate system that supports layered elements, such as modals and tooltips, alongside standard document flow. This abstraction allows developers to integrate the engine into any rendering environment while maintaining consistent visual scaling across different display configurations.

The engine includes built-in support for interactive features, including pointer input tracking, scrollable containers, and state-driven layout interpolation for smooth visual transitions. It also provides diagnostic tools to visualize element boundaries and hierarchies during development. The entire implementation is distributed as a single header file to facilitate integration into existing projects.

Features

  • C++ Rendering Libraries - A header-only library for calculating element positions and dimensions using a declarative box model in C and C++ applications.
  • Immediate Mode UI Libraries - A framework for building graphical interfaces that computes layout structures dynamically to support fluid transitions and interactive elements.
  • Cross-Platform Graphics Tooling - A platform-agnostic layout system that integrates with various graphics backends to facilitate custom user interface development.
  • Immediate Mode UI Frameworks - Calculates interface geometry dynamically on every frame without maintaining persistent UI state.
  • C Language Toolkits - Provides a lightweight, header-only layout engine for building custom graphical user interfaces in C and C++.
  • Element Positioning - Computes two-dimensional positions and dimensions for interface elements using a flexible box model.
  • Cross-Platform Rendering Frameworks - Creates platform-agnostic interface layouts that integrate with any graphics backend or windowing system.
  • CSS Box Model Renderers - Calculates element dimensions, padding, and alignment using a declarative box model for consistent interface scaling.
  • User Interface Frameworks - High-performance 2D UI layout.
  • Backend-Agnostic Rendering Pipelines - Decouples layout logic from specific graphics APIs by providing raw coordinate data for external rendering backends.
  • Declarative Layout Frameworks - Defines complex user interface structures using a declarative approach to automatically calculate layout behavior.
  • Floating Element Positioning - Calculates coordinate offsets for floating elements like modals and tooltips to position them outside the standard document flow.
  • Layout Interpolators - Tracks property changes between frames to calculate intermediate values for fluid visual transitions.
  • Layout Transition Libraries - Smoothly transitions visual styles and layout properties between states to create fluid motion effects.
  • Coordinate Systems - Manages element depth and floating components using explicit Z-index values for layered UI overlays.
  • Interaction and Event Handling - Implements scrollable areas, floating modals, and pointer-based input handling for responsive application interfaces.
  • Scrollable Containers - Clips overflowing content and updates child offsets to create scrollable areas for large information sets.

Historial de estrellas

Gráfico del historial de estrellas de nicbarker/clayGráfico del historial de estrellas de nicbarker/clay

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Clay

Proyectos open-source similares, clasificados según cuántas características comparten con Clay.
  • ocornut/imguiAvatar de ocornut

    ocornut/imgui

    73,875Ver en GitHub↗

    This project is an immediate-mode graphical user interface library designed for rapid development of tools and debugging interfaces. By generating UI geometry every frame through procedural code, it eliminates the need for persistent state synchronization between application data and the interface. It is primarily intended for integration into existing rendering pipelines, where it produces raw vertex buffers and draw commands that are agnostic to the underlying graphics API. The library distinguishes itself through a highly decoupled architecture that supports complex, dockable, and multi-vi

    C++apicplusplusframework
    Ver en GitHub↗73,875
  • gui-cs/terminal.guiAvatar de gui-cs

    gui-cs/Terminal.Gui

    11,068Ver en GitHub↗

    Terminal.Gui is a cross-platform .NET toolkit for building interactive text-based user interfaces. It provides a component-based architecture, a terminal rendering engine, and a declarative layout system to create console applications that run consistently across Windows, macOS, and Linux. The framework distinguishes itself with a comprehensive set of interactive console widgets, including data grids, hex editors, and hierarchical tree components. It supports advanced visual capabilities such as 24-bit True Color, Sixel image support, and a relative-coordinate layout system that adapts to ter

    C#consoleconsole-applicationcross-platform
    Ver en GitHub↗11,068
  • cococry/leifAvatar de cococry

    cococry/leif

    1,035Ver en GitHub↗

    Leif is an OpenGL-backed immediate mode graphical user interface library and graphics rendering framework. It provides a lightweight control flow where layouts and components are rebuilt every frame without retaining an internal scene graph, backed by hardware-accelerated graphics. The framework utilizes GPU-accelerated batch rendering to draw high volumes of primitives efficiently by grouping geometry into single vertex buffers. Developers can bypass standard rendering wrappers to access the underlying renderer directly, drawing raw graphics and custom geometry alongside standard interface c

    Cguiimguiminimal
    Ver en GitHub↗1,035
  • floooh/sokolAvatar de floooh

    floooh/sokol

    9,620Ver en GitHub↗

    Sokol is a C hardware abstraction layer and cross-platform graphics library designed for managing windowing, input, and audio across different operating systems. It functions as a GPU resource manager and multimedia application framework, providing a unified API for rendering 2D and 3D graphics across WebGL, Metal, Direct3D, and OpenGL. The project is distinguished by its single-header implementation, which simplifies integration and portability. It utilizes a stateless render pass definition and a one-update-per-frame model to synchronize CPU data to GPU memory and manage resource lifecycles

    C
    Ver en GitHub↗9,620
Ver las 30 alternativas a Clay→

Preguntas frecuentes

¿Qué hace nicbarker/clay?

Clay is a header-only layout engine designed for C and C++ applications that computes element positions and dimensions using a declarative box model. By operating as an immediate-mode framework, it calculates interface geometry dynamically on every frame, allowing for the creation of responsive and fluid user interfaces without maintaining persistent state.

¿Cuáles son las características principales de nicbarker/clay?

Las características principales de nicbarker/clay son: C++ Rendering Libraries, Immediate Mode UI Libraries, Cross-Platform Graphics Tooling, Immediate Mode UI Frameworks, C Language Toolkits, Element Positioning, Cross-Platform Rendering Frameworks, CSS Box Model Renderers.

¿Qué alternativas de código abierto existen para nicbarker/clay?

Las alternativas de código abierto para nicbarker/clay incluyen: ocornut/imgui — This project is an immediate-mode graphical user interface library designed for rapid development of tools and… gui-cs/terminal.gui — Terminal.Gui is a cross-platform .NET toolkit for building interactive text-based user interfaces. It provides a… cococry/leif — Leif is an OpenGL-backed immediate mode graphical user interface library and graphics rendering framework. It provides… floooh/sokol — Sokol is a C hardware abstraction layer and cross-platform graphics library designed for managing windowing, input,… immediate-mode-ui/nuklear — Nuklear is a minimal, header-only graphical user interface toolkit written in C. It utilizes an immediate-mode… raysan5/raygui — raygui is a C graphics interface toolkit and immediate mode GUI library used for building interactive utility panels.…