whatisgithub

What is muuri?

haltu/muuri — explained in plain English

Analysis updated 2026-07-03 · repo last pushed 2024-05-25

10,952JavaScriptAudience · developerComplexity · 2/5DormantSetup · easy

In one sentence

Muuri is a JavaScript library for building interactive responsive grids where items can be dragged, filtered, sorted, and animated, like a Pinterest board or Trello task board.

Mindmap

mindmap
  root((muuri))
    What It Does
      Drag and drop
      Filter items
      Sort items
      Smooth animations
    Tech Stack
      JavaScript
      HTML grid
    Use Cases
      Task boards
      Photo galleries
      Dashboards
    Audience
      Web developers
      Frontend builders
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build a drag-and-drop task board where users rearrange cards and the layout reflows automatically.

USE CASE 2

Create an interactive photo gallery with filter buttons that animate items in and out.

USE CASE 3

Build a customizable dashboard where users drag widgets to any position on screen.

What is it built with?

JavaScript

How does it compare?

haltu/muurihakanyalcinkaya/kodluyoruz-frontend-101-egitimicytoscape/cytoscape.js
Stars10,95210,95810,976
LanguageJavaScriptJavaScriptJavaScript
Last pushed2024-05-25
MaintenanceDormant
Setup difficultyeasyeasyeasy
Complexity2/51/52/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

So what is it?

Muuri is a JavaScript layout engine that lets you build interactive, responsive grids on a webpage where items can be dragged around, filtered, sorted, and animated. Think of a Pinterest-style board or a Trello task board where you can click and drag cards to rearrange them, and the whole layout smoothly adjusts to fill in the gaps. It bundles several common layout behaviors into a single tool, so you don't need to mix and match different libraries to get these effects working together. At its core, it figures out where each item should be positioned within a container and handles all the math and animations when things change. You set up your HTML with a container element and child items, add a bit of CSS to mark their positions, and then initialize it with a single line of JavaScript. From there, you can enable drag-and-drop, configure how items animate when they appear or disappear, and control how the grid responds when the browser window is resized. It can even perform these layout calculations in the background, which helps keep the page responsive even when you have a lot of items. This would be useful for anyone building a content-heavy dashboard, a photo gallery, a project management board, or a product listing where users need to reorganize items by dragging them. If you are building an app where people curate their own boards or rearrange widgets on a screen, this handles the complex interactions so you can focus on what goes inside each card. One notable thing about the project is how much it packs into its core. Rather than requiring you to bolt on separate libraries for drag-and-drop, sorting, and filtering, it builds these features in directly. This keeps things simpler but means you are relying on one engine to handle a lot of moving parts. The API is designed to stay as low-level as possible, giving developers fine-grained control over the layout and behavior without hiding everything behind heavy abstractions.

Copy-paste prompts

Prompt 1
Using Muuri, show me how to set up a basic drag-and-drop grid with HTML and JavaScript where items animate when moved.
Prompt 2
How do I add filter buttons to a Muuri grid so clicking a tag hides non-matching items with a smooth animation?
Prompt 3
Show me how to configure Muuri so items are sorted by a data attribute when new items are added to the grid.
Prompt 4
I want to use Muuri in a React app. Show me how to initialize and clean up a Muuri instance with useEffect.

Frequently asked questions

What is muuri?

Muuri is a JavaScript library for building interactive responsive grids where items can be dragged, filtered, sorted, and animated, like a Pinterest board or Trello task board.

What language is muuri written in?

Mainly JavaScript. The stack also includes JavaScript.

Is muuri actively maintained?

Dormant — no commits in 2+ years (last push 2024-05-25).

How hard is muuri to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is muuri for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.