
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@microblink/blinkid-ux-manager
Advanced tools
BlinkID UX Manager provides user feedback based on the blinkid process results.
This package provides user experience management and feedback UI for the BlinkID browser SDK. It parses results from @microblink/blinkid-core and guides the user through the scanning process, controlling @microblink/camera-manager as needed.
@microblink/blinkid and can be used directly for custom UI integrations.Install from npm using your preferred package manager:
npm install @microblink/blinkid-ux-manager
# or
yarn add @microblink/blinkid-ux-manager
# or
pnpm add @microblink/blinkid-ux-manager
The UX Manager includes a comprehensive haptic feedback system that provides tactile responses during the document scanning process. This feature is primarily designed for Android devices using Chrome browser, where it works reliably to enhance the scanning experience.
| Event | Duration | Type | Description |
|---|---|---|---|
| First Side Success | 100ms | Short | When the first side of an ID card is captured |
| Final Success | 300ms | Long | When document scanning is completed |
| Error States | 100ms | Short | Quality issues (blur, glare, positioning) |
| Error Dialogs | 300ms | Long | Timeout or critical errors |
| Flashlight Toggle | 100ms | Short | When camera flashlight is activated |
| Warning States | 100ms | Short | During sensing phases (with 1s cooldown) |
import {
BlinkIdUxManager,
HapticFeedbackManager,
} from "@microblink/blinkid-ux-manager";
// Create UX Manager (haptic feedback enabled by default)
const uxManager = new BlinkIdUxManager(cameraManager, scanningSession);
// Check if haptic feedback is supported
if (uxManager.isHapticFeedbackSupported()) {
console.log("Device supports haptic feedback");
}
// Enable/disable haptic feedback
uxManager.setHapticFeedbackEnabled(true); // Enable
uxManager.setHapticFeedbackEnabled(false); // Disable
// Access haptic manager directly for manual control
const hapticManager = uxManager.getHapticFeedbackManager();
hapticManager.triggerShort(); // 100ms vibration for short feedback
hapticManager.triggerLong(); // 300ms vibration for long feedback
hapticManager.stop(); // Stop all vibration
⚠️ Important: Haptic feedback uses the Web Vibration API, which has limited browser support:
You can use @microblink/blinkid-ux-manager directly in your project for advanced or custom integrations. For most use cases, use @microblink/blinkid for a simpler setup.
See the example apps in the apps/examples directory in the GitHub repository for usage details.
To build the package locally:
Install dependencies in the monorepo root:
pnpm install
Build the package:
pnpm build
Run tests:
pnpm test
The output files will be available in the dist/ and types/ directories.
You can customize UI strings when creating the feedback UI:
createBlinkIdFeedbackUi(uxManager, cameraUi, {
localizationStrings: {
scan_the_barcode: "Please scan the barcode"
}
});
You can import any of these files directly or use them as a starting point for your own localization.
FAQs
BlinkID UX Manager provides user feedback based on the blinkid process results.
The npm package @microblink/blinkid-ux-manager receives a total of 549 weekly downloads. As such, @microblink/blinkid-ux-manager popularity was classified as not popular.
We found that @microblink/blinkid-ux-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.