A beta model for React that runs in the browser and estimates when a visitor is frustrated, confused or lost from how they interact with the page.
About Mood recognition
Mood recognition is an on-device beta model from Jakub Antalik at libraries.dev. It uses how someone moves a pointer, presses controls, scrolls and types to estimate frustration, confusion or difficulty finding the next step. The TypeScript kit exposes those signals to a React interface, which can use them to show a hint or emphasize the control the visitor needs. The model runs in the browser and does not read text or field values.
libraries.dev offers the JSON model and the React kit as separate ZIP downloads with a free account. The current versions use the Libraries.dev Model License. The license allows development and noncommercial use at no charge. A commercial release requires a paid license.
Pricing: Free for development and noncommercial use. Commercial releases require a paid license, from $9/month. Libraries.dev pricing
Pricing model: Freemium
Features
- Uses pointer movement, presses, scrolling and typing patterns to estimate where a visitor may be stuck
- Runs the 32 KB gzipped model locally in the browser without a server or an LLM
- Reads positions, timings and control states without reading text or field values
- Provides a React hook and a CSS variable for showing hints or emphasizing a blocked step
- Offers separate downloads for the model and the TypeScript kit, with support for React 18 and later
FAQs
Common questions about Mood recognition
How do I install Mood recognition for React?
Does the model send interaction data to a server?
Can I ship it in a commercial product?
How reliable is the beta?
Featured
Free Guide: Make Money with AI
SponsoredDownload the guide from HubSpot
Free Guide: 100 Side Hustle Ideas
SponsoredDownload the guide from HubSpot
Free Guide: ChatGPT at Work
SponsoredDownload the guide from HubSpot
Free Course: AI for Business
Sponsored4-part crash course from HubSpot
Free Guide: The $0 Hire
SponsoredDownload the guide from BELAY





