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

desandro/masonry

0
View on GitHub↗
16,709 estrellas·2,076 forks·HTML·10 vistasmasonry.desandro.com↗

Masonry

Masonry is a JavaScript library for arranging elements of varying heights into a grid without vertical gaps. It serves as a DOM element positioner and dynamic layout manager that calculates and applies absolute coordinates to HTML elements based on available vertical space.

The system functions as a responsive grid engine using percentage-based widths to maintain consistent structures across different screen sizes. It includes capabilities to recalculate grid positions after images load or browser windows resize to prevent element overlap.

The library covers grid management and positioning, including the ability to reserve static space and preserve horizontal order. It also provides layout transition utilities for moving items into place using staggered animations and event listeners to trigger functions during layout changes.

Features

  • Cascading Grid Layouts - Positions elements of varying heights to eliminate vertical gaps using custom column widths and gutters.
  • Fluid Percentage Grids - Provides a layout system using relative percentage widths to automatically resize the grid based on the browser window.
  • Grid-DOM Synchronization - Tracks the addition and removal of child elements to maintain a consistent mapping between the DOM and the grid.
  • Cascading Grid Libraries - Provides a specialized framework for arranging elements of varying heights into a gapless grid.
  • Coordinate-Based Position Calculators - Calculates spatial coordinates for element insertion relative to other components to eliminate vertical gaps.
  • Content-Driven Layout Refresh - Triggers layout updates after images or web fonts load to ensure correct element positioning.
  • Column-Based Responsive Grids - Uses column-based responsive grids that automatically reflow elements to fit different viewport dimensions.
  • Grid Layout Management - Recalculates grid positions after images load or browser windows resize to prevent element overlap.
  • Absolute Positioning - Implements precise X and Y coordinate calculations to eliminate vertical gaps between elements of varying heights.
  • Layout Recalculation Triggers - Triggers positioning updates in response to external events such as image loading or window resizing.
  • Grid Membership Synchronization - Supports adding, removing, or inserting new elements to keep the layout synchronized with the DOM.
  • Viewport Resize Handling - Automatically recalculates element sizes and positions when the browser window dimensions change.
  • DOM Element Manipulators - Programmatically calculates and applies absolute coordinates to place HTML elements within the browser DOM.
  • Element Transitioning Mechanisms - Provides mechanisms to animate the transition of elements into their calculated grid positions.
  • Directional Layout Flows - Determines the placement sequence of items based on defined directional flows like top-down or left-to-right.
  • Flow Layouts - Positions elements sequentially and manages the starting point and direction of the grid flow.
  • Static Space Reservation - Places static elements into the grid so that floating items are positioned around them.
  • Layout Event Listeners - Implements event listeners that execute custom functions whenever specific layout changes occur.
  • Staggered Grid Column Counts - Adjusts the number of grid columns at runtime while supporting items of different heights.
  • Staggered Animations - Masonry.js ability to stagger the movement of elements to make them transition incrementally rather than simultaneously.
  • View Transition Animations - Interpolates the positions of grid elements when transitioning between different layout calculations.

Historial de estrellas

Gráfico del historial de estrellas de desandro/masonryGráfico del historial de estrellas de desandro/masonry

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 Masonry

Proyectos open-source similares, clasificados según cuántas características comparten con Masonry.
  • metafizzy/packeryAvatar de metafizzy

    metafizzy/packery

    4,317Ver en GitHub↗

    Packery is a JavaScript bin-packing grid layout engine and DOM element positioning library. It arranges elements of varying sizes into a gapless, compact grid by calculating and applying absolute coordinates to HTML elements to prevent overlapping. The library enables the creation of draggable grid interfaces, allowing users to rearrange elements via drag-and-drop while the system automatically reflows the remaining items. It maintains stable, responsive layouts across different screen dimensions by using a percentage-based positioning system and responding to window resize events. The tool

    JavaScript
    Ver en GitHub↗4,317
  • vpenkov/okaynavAvatar de VPenkov

    VPenkov/okayNav

    3,985Ver en GitHub↗

    okayNav is a JavaScript library for creating responsive navigation menus that automatically collapse into off-screen sidebars based on viewport width. It functions as a viewport-aware UI component that recalculates the distribution of visible and hidden navigation links as the browser window resizes. The framework distinguishes itself by providing a swipe-enabled system for opening and closing mobile menus using touch gestures with adjustable sensitivity. It also allows for programmatic control over the visibility of navigation drawers to trigger menus based on specific user actions.

    JavaScript
    Ver en GitHub↗3,985
  • thoughtbot/neatAvatar de thoughtbot

    thoughtbot/neat

    4,368Ver en GitHub↗

    Neat is a Sass grid framework and responsive layout system used to build fluid, column-based web architectures. It provides a structured approach to managing layout properties and global design settings through a central configuration map and a toolset of Sass mixins and functions. The system is distinguished by its ability to handle nested grid architectures, allowing flexible grids to be placed inside other grid containers while maintaining precise alignment and gutter control. It also includes development tools for frontend layout debugging that render background guide lines to visualize c

    Rubybourbonbourbon-familycss
    Ver en GitHub↗4,368
  • gizak/termuiAvatar de gizak

    gizak/termui

    13,574Ver en GitHub↗

    Termui is a Go terminal user interface library used for building interactive dashboards and visual layouts within a command-line environment. It functions as a TUI layout engine, an interactive CLI framework, and a terminal data visualization toolkit. The library provides a set of specialized widgets for rendering charts, plots, gauges, and tables using character-based graphics. It includes a grid-based system for arranging interface elements using relative coordinates and proportional sizing to create structured displays. The toolkit covers a broad range of capabilities including data visua

    Go
    Ver en GitHub↗13,574
Ver las 30 alternativas a Masonry→

Preguntas frecuentes

¿Qué hace desandro/masonry?

Masonry is a JavaScript library for arranging elements of varying heights into a grid without vertical gaps. It serves as a DOM element positioner and dynamic layout manager that calculates and applies absolute coordinates to HTML elements based on available vertical space.

¿Cuáles son las características principales de desandro/masonry?

Las características principales de desandro/masonry son: Cascading Grid Layouts, Fluid Percentage Grids, Grid-DOM Synchronization, Cascading Grid Libraries, Coordinate-Based Position Calculators, Content-Driven Layout Refresh, Column-Based Responsive Grids, Grid Layout Management.

¿Qué alternativas de código abierto existen para desandro/masonry?

Las alternativas de código abierto para desandro/masonry incluyen: metafizzy/packery — Packery is a JavaScript bin-packing grid layout engine and DOM element positioning library. It arranges elements of… vpenkov/okaynav — okayNav is a JavaScript library for creating responsive navigation menus that automatically collapse into off-screen… thoughtbot/neat — Neat is a Sass grid framework and responsive layout system used to build fluid, column-based web architectures. It… gizak/termui — Termui is a Go terminal user interface library used for building interactive dashboards and visual layouts within a… shopify/draggable — Draggable is a JavaScript library for implementing draggable elements and sortable lists within a web browser. It… metafizzy/isotope — Isotope is a JavaScript grid layout library used to create filterable and sortable grids with automatic element…