You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Glen Cheney 2b6a2e1e32 Change dark mode illustration logic 2 years ago
.github Add remaining docs 2 years ago
apps/website Change dark mode illustration logic 2 years ago
packages/shuffle updates 2 years ago
.browserslistrc Start v6 2 years ago
.eslintignore Replace JSHint and JSCS with ESLint 7 years ago
.eslintrc.js updates 2 years ago
.gitignore Initial monorepo 2 years ago
.node-version updates 2 years ago
.prettierignore Initial monorepo 2 years ago
CONTRIBUTING.md Change dark mode illustration logic 2 years ago
README.md Change dark mode illustration logic 2 years ago
package.json updates 2 years ago
prettier.config.js Start v6 2 years ago
turbo.json Initial monorepo 2 years ago
yarn.lock updates 2 years ago

README.md

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 (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.