Pressure.js

JavaScript library that handles Force Touch, 3D Touch, and pointer pressure across devices with a single API.

Visit Website
pressurejs.com
Verified API available
Quick facts
What is it JavaScript library that handles Force Touch, 3D Touch, and pointer pressure across devices with a single API.
Pricing Unknown
Platform Web Application
API Yes
Best for creating pressure-sensitive web interactions, building accessible web controls
Domain registered 2016

Data updated Aug. 1, 2026

What does Pressure.js do?

Pressure.js is a JavaScript library that lets web developers incorporate pressure sensitivity into their projects. It works with Force Touch on MacBooks and Magic Trackpads, 3D Touch on iPhones, and pointer pressure from devices like Microsoft Surface tablets and Wacom pens. The library provides a consistent way to respond to how hard a user is pressing on a screen or trackpad, enabling interactive elements that change based on pressure level.

The library stands out by unifying these different hardware inputs under one simple API, making it much easier to develop for multiple pressure-sensitive systems. It includes a built-in polyfill that uses time as a substitute for force on devices that lack pressure support—if a user holds down longer, it simulates harder pressure. This ensures your pressure-based features work for everyone. It also handles multitouch scenarios where multiple fingers press on different elements simultaneously.

Pressure.js is ideal for developers building interactive web applications, games, or creative tools. Use cases include creating pressure-sensitive drawing apps, implementing 'deep press' shortcuts similar to iOS, designing interactive data visualizations that respond to pressure, or adding accessibility features where pressing harder increases text size. It works across all major browsers and devices that support pointer events or Apple's pressure technologies.

#javascript library#web development

Key features

What makes it stand out
01
Unified API for Force Touch, 3D Touch, and pointer pressure devices
02
Built-in polyfill uses time as a substitute for force on unsupported devices
03
Handles multiple fingers pressing on different elements at once
04
Device support testing to determine if a user has pressure-sensitive hardware
05
Works across all major browsers and pressure-enabled devices

Who is Pressure.js for?

Who benefits most from this tool
creating pressure-sensitive web interactions
building accessible web controls
prototyping force-based UI effects

Trust & presence

Domain Domain registered 2016

Similar tools

Three.js Verified Development

JavaScript library for creating 3D graphics and interactive experiences in web browsers.

Top 100k site
JS2TS Verified Developer Tools

AI-powered JavaScript to TypeScript converter — paste your code, get instant TypeScript with proper type annotations

ml5js Verified Developer Tools

A friendly JavaScript library that brings machine learning models for pose, image, and sound recognition directly into your web browser.

Perfect Tense Verified Grammar Checker

API and JavaScript library for adding AI-powered spelling and grammar correction to any product or workflow.

Juice Verified Developer Tools

GPU-over-IP software that pools and shares remote GPUs for AI and graphics workloads over standard networks

Share X LinkedIn Telegram
Pressure.js Visit