awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
desandro avatar

desandro/masonry

0
View on GitHub↗
16,709 نجوم·2,076 تفرعات·HTML·6 مشاهداتmasonry.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.

سجل النجوم

مخطط تاريخ النجوم لـ desandro/masonryمخطط تاريخ النجوم لـ desandro/masonry

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Masonry

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Masonry.
  • metafizzy/packeryالصورة الرمزية لـ metafizzy

    metafizzy/packery

    4,317عرض على 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
    عرض على GitHub↗4,317
  • vpenkov/okaynavالصورة الرمزية لـ VPenkov

    VPenkov/okayNav

    3,985عرض على 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
    عرض على GitHub↗3,985
  • thoughtbot/neatالصورة الرمزية لـ thoughtbot

    thoughtbot/neat

    4,368عرض على 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
    عرض على GitHub↗4,368
  • gizak/termuiالصورة الرمزية لـ gizak

    gizak/termui

    13,574عرض على 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
    عرض على GitHub↗13,574
عرض جميع البدائل الـ 30 لـ Masonry→

الأسئلة الشائعة

ما هي وظيفة 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.

ما هي الميزات الرئيسية لـ desandro/masonry؟

الميزات الرئيسية لـ desandro/masonry هي: 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.

ما هي البدائل مفتوحة المصدر لـ desandro/masonry؟

تشمل البدائل مفتوحة المصدر لـ desandro/masonry: 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…