glen-cheney/Shuffle

Categorize, sort, and filter a responsive grid of items

TypeScript

2,375

530 commits

updated Oct 8, 2026

See the code

README

Shuffle Build Status Dependabot Status NPM version

Categorize, sort, and filter a responsive grid of items.

npm install shufflejs

Docs and Demos

All found here

Usage

import Shuffle from 'shufflejs';

const shuffleInstance = new Shuffle(document.getElementById('grid'), {
  itemSelector: '.js-item',
  sizer: '.js-shuffle-sizer',
});

Inspiration

This project was inspired by Isotope and Packery.

filter
grid
layout
masonry
responsive
sort

glen-cheney/Shuffle

Categorize, sort, and filter a responsive grid of items

TypeScript

2,375

530 commits

updated Oct 8, 2026

See the code

README

Shuffle Build Status Dependabot Status NPM version

Categorize, sort, and filter a responsive grid of items.

npm install shufflejs

Docs and Demos

All found here

Usage

import Shuffle from 'shufflejs';

const shuffleInstance = new Shuffle(document.getElementById('grid'), {
  itemSelector: '.js-item',
  sizer: '.js-shuffle-sizer',
});

Inspiration

This project was inspired by Isotope and Packery.

filter
grid
layout
masonry
responsive
sort

Significant stargazers

David DeSandro

6,027 followers · starred May 2016

Florian Verdonck

148 followers · starred Aug 2016

ADmad

426 followers · starred Apr 2024

Nate Meyer

68 followers · starred Jan 2016