shuffle

Create a list and set it into a random order

By @hashV0.1.0
{}

The Shuffle Block allows us to create a list of 'Things' and set them into a random order.

It accepts the property items which consists of an array of objects. If this property is not provided, the list will default to:

[
  { id: "1", value: "Thing 1" },
  { id: "2", value: "Thing 2" },
];

Ready to build your own blocks?

Anyone can contribute

Anyone can create blocks and contribute to this growing, open-source registry of blocks. Read our quickstart guide to start building your own blocks.

Read the quickstart guide
We're hiring full-stack TypeScript/React developers to build blocks full-time, and grow theBlock Protocol ecosystem.Learn more