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
·
DioxusLabs avatar

DioxusLabs/taffy

0
View on GitHub↗
2,972 estrellas·167 forks·Rust·other·5 vistasdocs.rs/taffy↗

Taffy

Taffy is a layout engine that calculates the size and position of user interface components. It is a language-agnostic tool that computes element geometry using Flexbox and Grid algorithms.

The engine operates on custom tree structures and node storage through a trait-based interface. This design allows it to be integrated into various programming languages and custom memory management systems.

The system handles UI layout computation, including leaf node measurement and floating point pixel snapping to prevent blurring on displays. It utilizes layout result caching to avoid redundant calculations for unchanged elements.

Features

  • Flexbox and Grid Layouts - Provides a full implementation of Flexbox and Grid layout models for computing element geometry.
  • Cross Platform Layout Libraries - Provides flexbox layout capabilities to non-web environments as a language-agnostic library.
  • Recursive Layout Measurement - Traverses the view hierarchy to calculate the dimensions of leaf nodes based on external content.
  • Node Storage Abstractions - Provides a trait-based interface that abstracts node storage, allowing for custom tree implementations.
  • Agnostic Layout Trees - Implements a layout engine that operates on any custom tree structure via a trait-based interface.
  • Element Positioning - Computes the spatial arrangement and coordinate locations of nested UI components.
  • Tree-Based Layout Logic - Allows the use of custom tree implementations to manage node storage and caching during layout.
  • Pixel Snapping - Converts calculated floating point coordinates to integer pixel values to prevent sub-pixel blurring.
  • UI Geometry Calculation Tools - Calculates the size and position of UI components with built-in support for pixel snapping and caching.
  • Layout Tree Storage Interfaces - Taffy enables connecting layout algorithms to custom data structures and memory management systems through a low-level interface.
  • Computational Result Caching - Caches computed layout geometry to skip redundant calculations for unchanged elements.
  • Arena-Based Memory Management - Implements arena-based memory management to organize layout nodes in contiguous blocks for improved cache locality.
  • Caching and Memoization - Utilizes memoization to cache previously computed layout geometry and avoid redundant calculations.
  • Cross-Platform Rendering Frameworks - Functions as a cross-platform rendering framework by providing consistent geometry calculations across different environments.
  • Custom UI Frameworks - Serves as a foundational component for building custom UI frameworks by providing the core layout logic.

Historial de estrellas

Gráfico del historial de estrellas de dioxuslabs/taffyGráfico del historial de estrellas de dioxuslabs/taffy

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

Preguntas frecuentes

¿Qué hace dioxuslabs/taffy?

Taffy is a layout engine that calculates the size and position of user interface components. It is a language-agnostic tool that computes element geometry using Flexbox and Grid algorithms.

¿Cuáles son las características principales de dioxuslabs/taffy?

Las características principales de dioxuslabs/taffy son: Flexbox and Grid Layouts, Cross Platform Layout Libraries, Recursive Layout Measurement, Node Storage Abstractions, Agnostic Layout Trees, Element Positioning, Tree-Based Layout Logic, Pixel Snapping.

¿Qué alternativas de código abierto existen para dioxuslabs/taffy?

Las alternativas de código abierto para dioxuslabs/taffy incluyen: react/yoga — Yoga is a cross-platform layout engine and embeddable core that determines the dimensions and offsets of hierarchical… facebookarchive/asyncdisplaykit — AsyncDisplayKit is an asynchronous UI framework and performance library for iOS. It provides a collection of… gosub-io/gosub-engine — Gosub-engine is an HTML5 browser engine and web rendering pipeline that parses HTML5 and CSS3 to compute layout and… google/flexbox-layout — This is a layout library for Android applications that implements the CSS Flexible Box layout model. It provides a… nicbarker/clay — Clay is a header-only layout engine designed for C and C++ applications that computes element positions and dimensions… greatfrontend/top-javascript-interview-questions — This project is a technical interview preparation resource focused on JavaScript. It provides a collection of common…

Alternativas open-source a Taffy

Proyectos open-source similares, clasificados según cuántas características comparten con Taffy.
  • react/yogaAvatar de react

    react/yoga

    18,790Ver en GitHub↗

    Yoga is a cross-platform layout engine and embeddable core that determines the dimensions and offsets of hierarchical element trees. It provides a C++ implementation of the Flexbox layout model to calculate element positions and sizes based on web standards, ensuring a uniform appearance across diverse devices and operating systems. The engine is designed for portability via a C API, allowing the layout logic to be integrated into various host languages and platforms. It utilizes an incremental layout system that identifies modified subtrees and recalculates positions only for changed nodes a

    C++
    Ver en GitHub↗18,790
  • facebookarchive/asyncdisplaykitAvatar de facebookarchive

    facebookarchive/AsyncDisplayKit

    13,345Ver en GitHub↗

    AsyncDisplayKit is an asynchronous UI framework and performance library for iOS. It provides a collection of performant alternatives to standard views, allowing developers to build responsive interfaces by offloading layout and rendering tasks to background threads. The framework is centered around a declarative layout engine based on a flexbox model, which calculates element positions and sizes asynchronously. It utilizes a node-based abstraction to wrap native views, enabling the instantiation and configuration of UI hierarchies on background threads to prevent main thread blocking. The sy

    Objective-C++
    Ver en GitHub↗13,345
  • gosub-io/gosub-engineAvatar de gosub-io

    gosub-io/gosub-engine

    3,673Ver en GitHub↗

    Gosub-engine is an HTML5 browser engine and web rendering pipeline that parses HTML5 and CSS3 to compute layout and render web content to pixels. It functions as a JavaScript runtime environment with a virtual machine and event loop for handling dynamic logic and asynchronous tasks. The system also includes a web storage manager for persisting cookies, local storage, and session storage. The project features a headless browser renderer capable of generating page images or extracting plain text without a visible window. It supports cross-platform graphics rendering through pluggable CPU and GP

    Rustbrowserhtml5rust
    Ver en GitHub↗3,673
  • google/flexbox-layoutAvatar de google

    google/flexbox-layout

    18,320Ver en GitHub↗

    This is a layout library for Android applications that implements the CSS Flexible Box layout model. It provides a view container and engine that arrange child views by distributing space and aligning content according to a flexible box model. The framework enables the creation of responsive user interfaces that automatically adjust element positioning, wrapping, and growth based on available screen dimensions and orientations. The system includes capabilities for adaptive layout workflows, dynamic element alignment, and a virtualized rendering system for recycling views to display large dat

    Kotlin
    Ver en GitHub↗18,320
Ver las 30 alternativas a Taffy→