shufflejs

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

Usage no npm install needed!

<script type="module">
  import shufflejs from 'https://cdn.skypack.dev/shufflejs';
</script>

README

Shuffle Build Status Dependency Status Dependabot Status NPM version

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

npm install shufflejs

Docs and Demos

All found here

Usage (with ES6)

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.