Skip to content

Repository files navigation

Logo

Visual dom-selection library

No dependenciesSupport medownloadsBuild Statusgzip sizebrotli size

demo gif

Features 🤘

  • 🧩 Framework-ready - a dependency-free core plus first-party React, Preact, and Vue 3 packages.
  • 🖱️ Natural interactions - drag, click/tap, and Shift range selection.
  • 🎯 Configurable behavior - selection triggers, thresholds, intersections, and overlap handling.
  • 📱 Touch and scroll aware - works with touch input and two-axis scrollable containers.
  • 🔄 Lifecycle events - observe or cancel interactions at every selection stage.
  • 🛠️ Programmatic API - manage selections, refresh selectable elements, or enable/disable selection.
  • ...and much more!

Getting started

Head over to the documentation to get started 🚀

You want to contribute?

That's awesome! Check out the contribution guidelines to get started :)

About

✨ Viselect - A high performance and lightweight library to add a visual way of selecting elements, just like on your Desktop. Zero dependencies, super small. Support for major frameworks!

Topics

Resources

Contributing

Stars

3.0k stars

Watchers

25 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages