# JavaScript dashboard libraries

JavaScript dashboard libraries arrange application widgets into grid, masonry, or docked layouts in the browser. A layout engine tracks the position and size of each widget and moves the others when one is dragged, resized, or filtered. These libraries build the admin dashboards, analytics workspaces, and editor-style panel layouts that people rearrange in web apps.

## Popularity

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [GridStack](#gridstack) | 3.5M | 9.3K | Nov 2026 | MIT |
| [Dockview](#dockview) | 3.4M | 3.5K | Nov 2026 | MIT |
| [Masonry](#masonry-layout) | 1.6M | 16.7K | Jul 2018 | MIT |
| [Lumino Widgets](#lumino-widgets) | 922.1K | 765 | Oct 2026 | BSD-3-Clause |
| [Muuri](#muuri) | 245.3K | 10.9K | Jul 2021 | MIT |
| [Golden Layout](#golden-layout) | 179.6K | 6.7K | Sep 2022 | MIT |
| [Isotope](#isotope-layout) | 155.1K | 11.1K | Apr 2018 | GPL-3.0 |
| [@egjs/grid](#egjs-grid) | 144.3K | 319 | Oct 2026 | MIT |

Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[GridStack](#gridstack) has the most monthly downloads in this comparison, at 3.5M.

## Capabilities

| Library | Tabbed docking | Built-in filtering | Drag rearrangement |
| --- | --- | --- | --- |
| [GridStack](#gridstack) | No | No | Yes |
| [Dockview](#dockview) | Yes | No | Yes |
| [Masonry](#masonry-layout) | No | No | No |
| [Lumino Widgets](#lumino-widgets) | Yes | No | Yes |
| [Muuri](#muuri) | No | Yes | Yes |
| [Golden Layout](#golden-layout) | Yes | No | Yes |
| [Isotope](#isotope-layout) | No | Yes | No |
| [@egjs/grid](#egjs-grid) | No | No | No |

## Libraries

### GridStack

[GitHub](https://github.com/gridstack/gridstack.js) · [npm](https://www.npmjs.com/package/gridstack) · [Docs](https://gridstackjs.com/)

Creates responsive dashboard grids with draggable widgets, resize controls, and restorable layout definitions.

- Downloads / mo: 3.5M
- Stars: 9.3K
- Last release: 14.1.1
- License: MIT
- Capabilities: [From the GridStack docs](https://gridstackjs.com/)

**Strengths**

- **Builds responsive dashboard grids.** Arrange widgets with dragging, resizing, and responsive grid settings.
- **Restores saved widget layouts.** Load saved positions and create or remove widgets by identifier.

**Watch out for**

- **Static grids ignore resize controls.** enableResize cannot override a static grid.

```sh
npm install --save gridstack
```

**Quickstart**

```typescript
import 'gridstack/dist/gridstack.min.css';
import { GridStack } from 'gridstack';

var grid = GridStack.init();
grid.addWidget({w: 2, content: 'item 1'});

```

From [serialization.html](https://github.com/gridstack/gridstack.js/blob/master/README.md) · [Find projects using GridStack →](https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20gridstack%20to%20restore%20dashboard%20cell%20geometry%2C%20refresh%20card%20layouts%20and%20capture%20workspace%20panel%20state&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

### Dockview

[GitHub](https://github.com/dockview/dockview) · [npm](https://www.npmjs.com/package/dockview) · [Docs](https://dockview.dev/)

Lays out panels in tabs, groups, grids, and split views, with drag and drop and floating panels.

- Downloads / mo: 3.4M
- Stars: 3.5K
- Last release: 8.9.1
- License: MIT
- Capabilities: [From the Dockview docs](https://dockview.dev/)

**Strengths**

- **Saves and restores layouts.** Serialize a docked layout and load it back with every panel in place.
- **Supports touch devices.** Drag panels and tabs on touch screens as well as with a mouse.

**Watch out for**

- **Enterprise features cost extra.** dockview-enterprise is a commercial superset of the MIT package.

```sh
npm install dockview
```

**ChiChou/grapefruit** (1.4K stars)

[ChiChou/grapefruit](https://github.com/ChiChou/grapefruit) 

```typescript
(options: AddPanelOptions) => {
      if (!dockApi) return;
      const existing = dockApi.getPanel(options.id);
      if (existing) {
        if (options.params) existing.api.updateParameters(options.params);
        existing.api.setActive();
        return;
      }
      dockApi.addPanel(options);
    }

```

[gui/src/components/layout/Workspace.tsx](https://github.com/ChiChou/grapefruit/blob/e1f3381a94c3e50764989aa5bd108e0da8b72c5c/gui/src/components/layout/Workspace.tsx#L169-L178) · [More projects using Dockview →](https://dashboard.exa.ai/playground/search?q=dockview%20GitHub%20projects)

**Quickstart**

```typescript
import 'dockview/dist/styles/dockview.css';
import { createDockview, themeAbyss } from 'dockview';

const container = document.getElementById('app');
if (!container) throw new Error('Missing #app element');
container.style.height = '300px';
const api = createDockview(container, {
  theme: themeAbyss,
  createComponent: () => {
    const element = document.createElement('div');
    element.textContent = 'Hello';
    return { element, init() {} };
  },
});
api.addPanel({ id: 'panel_1', component: 'default', title: 'Panel 1' });

```

From [quickstart.mdx](https://github.com/dockview/dockview/blob/master/packages/docs/docs/overview/quickstart.mdx)

### Masonry

[GitHub](https://github.com/desandro/masonry) · [npm](https://www.npmjs.com/package/masonry-layout) · [Docs](https://masonry.desandro.com/)

Arranges elements in a cascading grid layout.

- Downloads / mo: 1.6M
- Stars: 16.7K
- Last release: 4.2.2
- License: MIT
- Capabilities: [From the Masonry docs](https://masonry.desandro.com/)

**Strengths**

- **Fills gaps by vertical space.** Place each element where the most vertical space is open.

**Watch out for**

- **Unloaded media causes overlaps.** Run layout again after images and web fonts finish loading.

```sh
npm install masonry-layout --save
```

**eiriklv/react-masonry-component** (1.5K stars)

[eiriklv/react-masonry-component](https://github.com/eiriklv/react-masonry-component) 

```typescript
function() {
    var diff = this.diffDomChildren();
    var reloadItems = diff.forceItemReload || diff.moved.length > 0;

    // Would never be true. (see comments of 'diffDomChildren' about 'removed')
    if (diff.removed.length > 0) {
      if (this.props.enableResizableChildren) {
        diff.removed.forEach(this.erd.removeAllListeners, this.erd);
      }
      this.masonry.remove(diff.removed);
      reloadItems = true;
    }

    if (diff.appended.length > 0) {
      this.masonry.appended(diff.appended);

      if (diff.prepended.length === 0) {
        reloadItems = true;
      }

      if (this.props.enableResizableChildren) {
        diff.appended.forEach(this.listenToElementResize, this);
      }
    }

    if (diff.prepended.length > 0) {
      this.masonry.prepended(diff.prepended);

      if (this.props.enableResizableChildren) {
        diff.prepended.forEach(this.listenToElementResize, this);
      }
    }

    if (reloadItems) {
      this.masonry.reloadItems();
    }

    this.masonry.layout();
  }

```

[lib/index.js](https://github.com/eiriklv/react-masonry-component/blob/4c9eb69abd69350430eb266a3e7bb10ad83cc951/lib/index.js#L180-L218) · [More projects using Masonry →](https://dashboard.exa.ai/playground/search?q=masonry-layout%20GitHub%20projects)

**Quickstart**

```typescript
var Masonry = require('masonry-layout');

// vanilla JS
// init with element
var grid = document.querySelector('.grid');
var msnry = new Masonry( grid, {
  // options...
  itemSelector: '.grid-item',
  columnWidth: 200
});

```

From [README.md](https://masonry.desandro.com/extras)

### Lumino Widgets

[GitHub](https://github.com/jupyterlab/lumino) · [npm](https://www.npmjs.com/package/@lumino/widgets) · [Docs](https://lumino.readthedocs.io/en/latest/)

Provides dock panels, split panels, and application widgets for complex browser workspaces.

- Downloads / mo: 922.1K
- Stars: 765
- Last release: 2.10.0
- License: BSD-3-Clause
- Capabilities: [From the Lumino Widgets docs](https://lumino.readthedocs.io/en/latest/)

**Strengths**

- **Builds docking workspaces.** Arrange application widgets inside a docking area of tabs and splits.
- **Resizes split-panel sections.** Use SplitPanel to place widgets in resizable sections.

**Watch out for**

- **Restoring changes document mode.** restoreLayout switches the dock panel back to multiple-document mode.

```sh
npm install @lumino/widgets
```

**jupyterlab/jupyterlab** (15.4K stars)

[jupyterlab/jupyterlab](https://github.com/jupyterlab/jupyterlab) 

```typescript
saveLayout(): ILabShell.ILayout {
  // If the application is in single document mode, use the cached layout if
  // available. Otherwise, default to querying the dock panel for layout.
  const layout = {
    mainArea: {
      currentWidget: this._tracker.currentWidget,
      dock:
        this.mode === 'single-document'
          ? this._cachedLayout || this._dockPanel.saveLayout()
          : this._dockPanel.saveLayout()
    },
    downArea: {
      collapsed: this.downCollapsed,
      currentWidget: this._downPanel.currentWidget,
      widgets: Array.from(this._downPanel.stackedPanel.widgets),
      size:
        this._downPanel.stackedPanel.widgets.length === 0
          ? 0
          : this.downCollapsed
            ? this._lastDownAreaSize
            : this._vsplitPanel.relativeSizes()[1]
    },
    leftArea: this._leftHandler.dehydrate(),
    rightArea: this._rightHandler.dehydrate(),
    topArea: { simpleVisibility: !this._topHandlerHiddenByUser },
    relativeSizes: this._hsplitPanel.relativeSizes()
  };
  return layout;
}

```

[packages/application/src/shell.ts](https://github.com/jupyterlab/jupyterlab/blob/d9277aeb24e864f96ce1fdbcb61ffd43bc34f29b/packages/application/src/shell.ts#L1478-L1506) · [More projects using Lumino Widgets →](https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20%40lumino/widgets%20to%20restore%20dashboard%20cell%20geometry%2C%20refresh%20card%20layouts%20and%20capture%20workspace%20panel%20state&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```typescript
import { DockPanel, Widget } from '@lumino/widgets';
import '@lumino/widgets/style/index.css';
const dock = new DockPanel();
const widget = new Widget();
widget.title.label = 'Example';
dock.addWidget(widget);
Widget.attach(dock, document.body);

```

From [index.ts](https://github.com/jupyterlab/lumino/blob/main/examples/example-dockpanel/src/index.ts)

### Muuri

[GitHub](https://github.com/haltu/muuri) · [npm](https://www.npmjs.com/package/muuri) · [Docs](https://muuri.dev/)

Packs, filters, sorts, and drags items in responsive browser layouts.

- Downloads / mo: 245.3K
- Stars: 10.9K
- Last release: 0.9.5
- License: MIT
- Capabilities: [From the Muuri docs](https://muuri.dev/)

**Strengths**

- **Filters cards with a predicate.** Return true from a filter predicate to show matching items.
- **Computes layouts asynchronously.** Use the worker-based default layout to calculate item positions.

**Watch out for**

- **Item animations conflict with CSS.** Leave item transitions and animations to Muuri’s animation engine.
- **Scrolling needs an outer wrapper.** Put overflow scrolling on a wrapper to avoid items jumping during drags.

```sh
npm install muuri
```

**paol-imi/muuri-react** (369 stars)

[paol-imi/muuri-react](https://github.com/paol-imi/muuri-react) 

```typescript
refreshItem(item: DecoratedItem): void {
  // If the component is rendering within the MuuriComponent.
  if (this._isRendering) {
    // The layout is managed by the MuuriComponent
    // (Performance purpose).
    this._itemsToRefresh.push(item);
  } else {
    // If the item is changing parent this
    // will get the right parent.
    const grid = item.getGrid();
    // The layout is managed here.
    grid.refreshItems([item]);
    grid.layout();
  }
}

```

[src/controllers/layoutController.ts](https://github.com/paol-imi/muuri-react/blob/3fd98e8fd22a06d6f646292c04689a6624e1bc81/src/controllers/layoutController.ts#L52-L66) · [More projects using Muuri →](https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20muuri%20to%20restore%20dashboard%20cell%20geometry%2C%20refresh%20card%20layouts%20and%20capture%20workspace%20panel%20state&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```typescript
import Muuri from 'muuri';
var grid = new Muuri('.grid');

```

From [README.md](https://github.com/haltu/muuri/blob/master/README.md)

### Golden Layout

[GitHub](https://github.com/golden-layout/golden-layout) · [npm](https://www.npmjs.com/package/golden-layout) · [Docs](https://golden-layout.github.io/golden-layout/version-2/)

Manages draggable application components in docked layouts with tabs, popout windows, and saved configurations.

- Downloads / mo: 179.6K
- Stars: 6.7K
- Last release: 2.6.0
- License: MIT
- Capabilities: [From the Golden Layout docs](https://golden-layout.github.io/golden-layout/version-2/)

**Strengths**

- **Rearranges application components.** Let users rearrange application components with drag and drop.
- **Keeps virtual component ancestry stable.** Use virtual binding when DOM moves would disrupt frames or framework components.

**Watch out for**

- **Upstream recommends a source build.** Use a source build to follow the supported distribution.
- **Embedded components can be reparented.** Choose virtual components when parent changes would disrupt component state.

```sh
npm i golden-layout
```

**GoogleCloudPlatform/khi** (2.1K stars)

[GoogleCloudPlatform/khi](https://github.com/GoogleCloudPlatform/khi) 

```typescript
private registerComponent(config: ComponentRegistrationConfig): void {
    this.goldenLayout.registerComponentFactoryFunction(
      config.type,
      (container: ComponentContainer) => {
        const pool = this.componentPool.get(config.type);
        const componentRef =
          pool && pool.length > 0
            ? pool.pop()!
            : this.viewContainerRef.createComponent(config.componentClass);

        componentRef.changeDetectorRef.reattach();

        this.activeComponentRefs.set(container, componentRef);
        container.element.appendChild(componentRef.location.nativeElement);
        this.addIconToTab(container, config.tabIcon);
        config.disabledSignal?.set(true);

        container.on('destroy', () => {
          this.activeComponentRefs.delete(container);
          if (this.isSwitchingLayout) {
            componentRef.location.nativeElement.remove();
            componentRef.changeDetectorRef.detach();
            let currentPool = this.componentPool.get(config.type);
            if (!currentPool) {
              currentPool = [];
              this.componentPool.set(config.type, currentPool);
            }
            currentPool.push(componentRef);
          } else {
            componentRef.destroy();
          }
          config.disabledSignal?.set(false);
        });
      },
    );
  }

```

[web/src/app/services/layout/layout.service.ts](https://github.com/GoogleCloudPlatform/khi/blob/ef2620269beadf821f6ccf0b326b7c9afcb6b88e/web/src/app/services/layout/layout.service.ts#L273-L308) · [More projects using Golden Layout →](https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20golden-layout%20to%20restore%20dashboard%20cell%20geometry%2C%20refresh%20card%20layouts%20and%20capture%20workspace%20panel%20state&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```typescript
import { GoldenLayout } from 'golden-layout';
import 'golden-layout/dist/css/goldenlayout-base.css';
const layout = new GoldenLayout(document.getElementById('layout')!);
layout.registerComponentFactoryFunction('text', (container) => {
  container.element.textContent = 'Hello';
});
layout.loadLayout({ root: { type: 'component', componentType: 'text' } });

```

From [app.ts](https://github.com/golden-layout/golden-layout/blob/master/docs/version-2/index.md)

### Isotope

[GitHub](https://github.com/metafizzy/isotope) · [npm](https://www.npmjs.com/package/isotope-layout) · [Docs](https://isotope.metafizzy.co/)

Filters and sorts the items in a grid layout.

- Downloads / mo: 155.1K
- Stars: 11.1K
- Last release: 3.0.6
- License: GPL-3.0
- Capabilities: [From the Isotope docs](https://isotope.metafizzy.co/)

**Strengths**

- **Filters and sorts items.** Show a filtered, sorted subset of grid items in place.

**Watch out for**

- **GPLv3 or a paid license.** Commercial projects need the paid Isotope license.

```sh
npm install isotope-layout --save
```

**argyleink/gui-challenges** (3.0K stars)

[argyleink/gui-challenges](https://github.com/argyleink/gui-challenges) 

```typescript
const filterGrid = query => {
  const { matches:motionOK } = window.matchMedia(
    '(prefers-reduced-motion: no-preference)'
  )
  
  IsotopeGrid.arrange({
    filter: query,
    stagger: 25,
    transitionDuration: motionOK ? '0.4s' : 0,
  })
}

```

[multi-select/index.js](https://github.com/argyleink/gui-challenges/blob/82317d0d04c4f38ddf781439e282aa67ecb5b7f6/multi-select/index.js#L9-L19) · [More projects using Isotope →](https://dashboard.exa.ai/playground/search?q=isotope-layout%20GitHub%20projects)

**Quickstart**

```typescript
var Isotope = require('isotope-layout');

// vanilla JS
var grid = document.querySelector('.grid');
var iso = new Isotope( grid, {
  // options...
  itemSelector: '.grid-item',
  masonry: {
    columnWidth: 200
  }
});

```

From [README.md](https://isotope.metafizzy.co/extras)

### @egjs/grid

[GitHub](https://github.com/naver/egjs-grid) · [npm](https://www.npmjs.com/package/@egjs/grid) · [Docs](https://naver.github.io/egjs-grid/)

Arranges items according to the type of grid chosen for the container.

- Downloads / mo: 144.3K
- Stars: 319
- Last release: 1.18.1
- License: MIT
- Capabilities: [From the @egjs/grid docs](https://naver.github.io/egjs-grid/)

**Strengths**

- **Stacks items in columns.** MasonryGrid inserts each new item into the shortest column.

```sh
npm install @egjs/grid
```

**naver/egjs-infinitegrid** (2.4K stars)

[naver/egjs-infinitegrid](https://github.com/naver/egjs-infinitegrid) 

```typescript
private _makeGrid() {
    const GridConstructor = this.options.gridConstructor!;
    const gridOptions = this.gridOptions;
    const container = this.containerElement;

    return new GridConstructor(container, {
      ...gridOptions,
      useFit: false,
      autoResize: false,
      useResizeObserver: false,
      observeChildren: false,
      renderOnPropertyChange: false,
      externalContainerManager: this.containerManager,
      externalItemRenderer: this.itemRenderer,
    });
  }

```

[packages/infinitegrid/src/GroupManager.ts](https://github.com/naver/egjs-infinitegrid/blob/fd13390799b8d74bf0f546c742e3ff73cb731ffc/packages/infinitegrid/src/GroupManager.ts#L771-L786) · [More projects using @egjs/grid →](https://dashboard.exa.ai/playground/search?q=%40egjs/grid%20GitHub%20projects)

**Quickstart**

```typescript
import { MasonryGrid, JustifiedGrid, FrameGrid, PackingGrid } from "@egjs/grid";


// Grid.MasonryGrid
const grid = new MasonryGrid(container, {
  gap: 5,
});

grid.renderItems();

```

From [README.md](https://github.com/naver/egjs-grid/blob/main/README.md)

## FAQ

### What is GridStack?

[GridStack](#gridstack) is a TypeScript library that builds responsive dashboard grids with draggable, resizable widgets and saved layouts.

### What does a JavaScript dashboard library do?

A JavaScript dashboard library places widgets, cards, or panels on a page and keeps their positions in a layout model. Grid libraries such as [GridStack](#gridstack) let people drag and resize widgets, while docking libraries such as [Dockview](#dockview) and [Golden Layout](#golden-layout) arrange panels in tabs and splits.

### How does GridStack restore a saved dashboard?

load updates matching widget identifiers and adds or removes widgets to match the saved list.

### Why does enableResize have no effect in GridStack?

The method is a no-op while the grid is static.

### When should Golden Layout use virtual components?

Virtual components keep their ancestors from being reparented when the layout changes. This avoids breaking frames or framework component hierarchies.

### Why do Muuri items jump when dragging starts?

Put overflow scrolling on a wrapper, rather than the grid element itself.

## How this page was built

Data checked Nov 20, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "Best JavaScript dashboard libraries GridStack Golden Layout Muuri Lumino examples",
    "numResults": 5
  }
}
```

Docs: https://exa.ai/docs/reference/search
