awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
metafizzy avatar

metafizzy/packery

0
View on GitHub↗
4,317 stars·321 forks·JavaScript·6 vuespackery.metafizzy.co↗

Packery

Packery est un moteur de mise en page en grille de type bin-packing JavaScript et une bibliothèque de positionnement d'éléments DOM. Il organise des éléments de tailles variées dans une grille compacte sans espace en calculant et en appliquant des coordonnées absolues aux éléments HTML pour éviter les chevauchements.

La bibliothèque permet la création d'interfaces en grille déplaçables, permettant aux utilisateurs de réorganiser les éléments via drag-and-drop tandis que le système réorganise automatiquement les éléments restants. Elle maintient des mises en page stables et réactives à travers différentes dimensions d'écran en utilisant un système de positionnement basé sur des pourcentages et en répondant aux événements de redimensionnement de fenêtre.

L'outil gère l'agencement de contenu dynamique via des capacités telles que la synchronisation avec le chargement d'images et de polices, la possibilité de réserver de l'espace de mise en page via des stamps, et l'utilisation de marqueurs de remplacement pour prévisualiser les positions de dépôt lors d'une réorganisation manuelle. Il prend également en charge les transitions échelonnées pour le repositionnement des éléments et l'intégration de systèmes de grille externes pour l'alignement des colonnes.

Features

  • Grid Packing Algorithms - Provides a bin-packing algorithm to automatically arrange elements of varying sizes into a compact, gapless grid.
  • Masonry Layouts - Implements a bin-packing grid layout that maintains a stable, gapless structure across different screen dimensions using percentage-based positioning.
  • Grid Drag-and-Drop Managers - Enables manual element dragging within a layout while automatically reflowing surrounding items to maintain a gapless grid.
  • Percentage-Based Position Calculators - Calculates coordinates in percentage values to maintain layout stability across different browser window dimensions.
  • Element Positioning - Calculates and applies absolute coordinates to HTML elements to create seamless, non-overlapping arrangements.
  • Percentage-Based Positioning - Tracks item positions and dimensions as relative percentages to ensure layout stability during window resizing.
  • Grid Layout Engines - Acts as a JavaScript engine that arranges elements of varying sizes into a gapless, compact grid layout.
  • Item Positioning - Enables manual movement of items within the grid while the engine automatically reflows other elements.
  • Grid Layout Management - Coordinates the adding, removing, and re-indexing of elements to synchronize the grid layout with the DOM.
  • Dynamic Grid Layouts - Organizes collections of items with unpredictable dimensions, such as images or text blocks, into a seamless visual layout.
  • Draggable Grid Widgets - Provides a multi-column grid system where users can reposition elements via drag-and-drop with automatic layout reflow.
  • Grid Element Arrangement - Positions items in a gapless, bin-packed layout and refreshes the arrangement when item sizes change.
  • Screen Percentage Layouts - Uses percentage-based sizes and positions to maintain the grid structure across different screen dimensions.
  • Image-Load Layout Synchronization - Recalculates the layout after images load to prevent overlapping elements caused by unknown image dimensions.
  • Absolute Positioning - Implements absolute coordinate calculations to position elements and eliminate gaps in a bin-packed grid.
  • Layout Reflow Logic - Shifts layout items vertically to accommodate changes while maintaining their original horizontal order.
  • Dynamic Reflow Grid Builders - Recalculates element coordinates in real time during drag or resize operations to maintain a gapless structure.
  • Drag-and-Drop Layout Reflow - Moves grid elements via drag-and-drop and automatically repositions other items to maintain a gapless layout.
  • Viewport Resize Handling - Automatically recalculates item sizes and positions when the browser window is resized to maintain layout stability.
  • Drop Position Placeholders - Renders a temporary visual marker at the calculated destination coordinate during drag-and-drop operations.
  • Grid Alignment Systems - Constrains items to specific column widths and row heights for consistent alignment during placement and dragging.
  • Grid Alignment Systems - Constrains elements to specific column widths and row heights to ensure a consistent visual grid alignment.
  • Grid Gutters - Implements fixed or responsive horizontal and vertical gutters between items to prevent them from touching.
  • Directional Layout Flows - Allows setting the layout origin point to determine the direction in which elements are placed.
  • Drop Position Previews - Displays a placeholder element at the predicted destination of a dragged item before it is released.
  • Static Space Reservation - Provides the ability to mark elements as stamps that the layout engine avoids, reserving specific areas for static content.
  • Deferred Dimension Refresh - Recalculates the grid layout after images have loaded to prevent element overlap caused by unknown dimensions.
  • Staggered Animations - Delays the movement of items incrementally to create a sequenced visual flow during layout updates.
  • Grid Layout Systems - Integrates with external CSS grid frameworks to create responsive layouts based on specific column widths.
  • Responsive Dashboards - Builds flexible grid systems using percentage-based positioning to maintain structure across different screen sizes.
  • Grid Element Distribution - Controls the placement of items within the grid using either a specified intelligent order or a random organic distribution.

Historique des stars

Graphique de l'historique des stars pour metafizzy/packeryGraphique de l'historique des stars pour metafizzy/packery

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait metafizzy/packery ?

Packery est un moteur de mise en page en grille de type bin-packing JavaScript et une bibliothèque de positionnement d'éléments DOM. Il organise des éléments de tailles variées dans une grille compacte sans espace en calculant et en appliquant des coordonnées absolues aux éléments HTML pour éviter les chevauchements.

Quelles sont les fonctionnalités principales de metafizzy/packery ?

Les fonctionnalités principales de metafizzy/packery sont : Grid Packing Algorithms, Masonry Layouts, Grid Drag-and-Drop Managers, Percentage-Based Position Calculators, Element Positioning, Percentage-Based Positioning, Grid Layout Engines, Item Positioning.

Quelles sont les alternatives open-source à metafizzy/packery ?

Les alternatives open-source à metafizzy/packery incluent : desandro/masonry — Masonry is a JavaScript library for arranging elements of varying heights into a grid without vertical gaps. It serves… ducksboard/gridster.js — Gridster.js is a jQuery plugin that turns page elements into a draggable, resizable grid layout. It provides a… angular/flex-layout — This project is a responsive layout framework for Angular that provides a system of directives to create adaptive user… rstacruz/cheatsheets — This project is a comprehensive collection of web development reference guides and technical cheat sheets. It provides… nathansmith/960-grid-system — This project is a fixed-width CSS layout framework designed to organize web content into a standardized grid of… adamschwartz/magic-of-css — Magic of CSS is a structured tutorial series that teaches web developers advanced CSS layout, typography, and…

Alternatives open source à Packery

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Packery.
  • desandro/masonryAvatar de desandro

    desandro/masonry

    16,709Voir sur GitHub↗

    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,

    HTML
    Voir sur GitHub↗16,709
  • ducksboard/gridster.jsAvatar de ducksboard

    ducksboard/gridster.js

    5,981Voir sur GitHub↗

    Gridster.js is a jQuery plugin that turns page elements into a draggable, resizable grid layout. It provides a framework for building interactive dashboards and interfaces where widgets snap to a multi-column grid and can be repositioned by dragging, with automatic layout reflow when items are added, removed, or resized. The plugin handles mouse and touch events through a drag-and-drop manager, calculates widget overlap with a collision detection engine, and positions items using CSS transforms for smoother animations. It maintains an internal registry of all grid items with their coordinates

    JavaScript
    Voir sur GitHub↗5,981
  • angular/flex-layoutAvatar de angular

    angular/flex-layout

    5,843Voir sur GitHub↗

    This project is a responsive layout framework for Angular that provides a system of directives to create adaptive user interfaces using CSS Flexbox and CSS Grid. It includes specialized libraries for managing flexible box alignment and structuring complex two-dimensional page grids. The framework features a breakpoint monitoring service to programmatically observe media query changes and trigger logic when viewport dimensions cross defined boundaries. To optimize performance, it includes a build-time CSS generator that uses SASS mixins to create static media query stylesheets, reducing the ne

    TypeScriptadaptiveangularengine
    Voir sur GitHub↗5,843
  • rstacruz/cheatsheetsAvatar de rstacruz

    rstacruz/cheatsheets

    14,429Voir sur GitHub↗

    This project is a comprehensive collection of web development reference guides and technical cheat sheets. It provides a curated set of markdown-based documentation designed to help developers quickly locate syntax patterns and API examples for common web technologies and programming languages. The repository serves as a specialized reference library covering several distinct technical domains. It includes extensive guides for CSS, focusing on selectors, Flexbox, Grid, and responsive layout properties, as well as a DevOps command reference for Docker, Kubernetes, AWS, Ansible, and general she

    SCSS
    Voir sur GitHub↗14,429
Voir les 30 alternatives à Packery→