Skip to content

Examples

TIP

This document provides a few examples of how this library can be used in practice. Head over to Quickstart to get started!

Simple Selection

A single, simple box with a standard behaviour as you know it from your trusty file explorer. Press Ctrl / Cmd to select multiple items, or deselect items by clicking on them again. Press Shift to select a range of items after selecting one ore more before.

You can find the source code for this example here. Under Quickstart you can find a step-by-step guide on how to create this example from scratch!

Scrollable Container

A container that can be scrolled in both directions. The selection area will automatically adjust to the scroll position and size of the container.

You can find the source code for this example here

Released under the MIT License.