Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Tiny JS
  3. alloyfinger

alloyfinger

MITJavaScript

A super tiny multi-touch gesture library for web applications, supporting tap, swipe, pinch, rotate, and more.

Visit WebsiteGitHubGitHub
3.4k stars539 forks0 contributors

What is alloyfinger?

AlloyFinger is a super tiny multi-touch gesture library for the web that enables developers to add touch interactions like tap, swipe, pinch, and rotate to HTML elements. It solves the problem of implementing complex touch gestures with minimal code and overhead, making web applications more interactive on touch devices.

Target Audience

Frontend developers building touch-enabled web applications, especially those targeting mobile devices or tablets, and developers using the Omi framework who need integrated gesture support.

Value Proposition

Developers choose AlloyFinger for its extremely small size and comprehensive gesture support, allowing them to enhance user interactions without sacrificing performance or adding significant bundle weight.

Overview

Super tiny size multi-touch gestures library for the web.    You can touch this →

Use Cases

Best For

  • Adding pinch-to-zoom and rotation gestures to image viewers or maps
  • Implementing swipe navigation in mobile web apps or galleries
  • Creating interactive touch-based games or drawing applications
  • Enhancing UI components with tap, double tap, and long press actions
  • Building touch-friendly data visualizations or charts
  • Integrating gestures into Omi framework projects via omi-finger

Not Ideal For

  • Projects built with React, Vue, or Angular that prefer integrated gesture libraries or hooks
  • Applications requiring gesture-driven animations or pre-styled UI components out-of-the-box
  • Websites prioritizing strict accessibility compliance where gestures need built-in keyboard fallbacks

Pros & Cons

Pros

Extremely Lightweight

AlloyFinger is designed with a tiny footprint to minimize page load impact, aligning with its philosophy of performance and minimalism.

Comprehensive Gesture Set

Supports a wide range of touch gestures like pinch, rotate, swipe, and tap, covering most interactive needs for touch-enabled web apps.

Flexible Event Management

Provides on and off methods for dynamic event handling and a destroy method to clean up listeners, preventing memory leaks as shown in the usage examples.

Omi Framework Integration

Includes an omi-finger version for seamless use with the Omi framework, simplifying gesture implementation in Omi-based projects.

Cons

Limited Framework Support

Only integrates natively with Omi; for other frameworks like React or Vue, developers must manually handle binding and lifecycle management.

Basic Documentation

The README lacks detailed guides, API references, or examples for edge cases, making advanced usage more challenging to implement.

No Built-in Visuals

Gesture detection is provided, but developers must separately implement animations or visual feedback, adding to development complexity.

Frequently Asked Questions

Quick Stats

Stars3,441
Forks539
Contributors0
Open Issues77
Last commit7 years ago
CreatedSince 2016

Tags

#gesture#multi-touch#mobile-web#touch#touch-events#gesture-recognition#frontend#javascript-library#touch-gestures#web-development

Built With

J
JavaScript

Links & Resources

Website

Included in

Tiny JS767
Auto-fetched 23 hours ago

Related Projects

detect-itdetect-it

Detect if a device is mouseOnly, touchOnly, or hybrid, and if the primary input is mouse or touch.

Stars434
Forks12
Last commit5 years ago
tinygesturetinygesture

Very small gesture recognizer for JavaScript. Swipe, pan, tap, doubletap, longpress, pinch, and rotate. (Mirror of https://forge.sciactive.com/sciactive/tinygesture)

Stars226
Forks20
Last commit2 months ago
pointer-trackerpointer-tracker

Track mouse/touch/pointer events for a given element.

Stars191
Forks25
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub