Skip to Main Content
Talk Intermediate

Beyond Mouse Clicks: Crafting Keyboard UX for React SaaS Web Platforms

Proposal status is Rejected
Session Description

We all grew up with keyboard shortcuts—Ctrl+C, Ctrl+V, and Alt+Tab were second nature. But web apps forgot this muscle memory. Now, shortcuts are making a comeback, and it's time to bring desktop-like efficiency back to the web.

At Zivy, we built a framework for conflict-free, cross-platform keyboard shortcuts. I'll be presenting this library, currently part of our private codebase but soon to be open-sourced.

What I'll Cover:

  • Cross-Platform Challenges - Why Mac vs Windows handling is brutal

  • Scalable Architecture - Single keys, modifier combos, and vim-style sequences (G+I navigation)

  • Smart Context Detection - Preventing shortcuts when users are typing - single-key shortcuts are great but tricky because they can't trigger while user is typing

  • Real-World Gotchas - Shortcuts live with your component, that means feature disabled, shorcut automatically removed

    One shortcut, multiple use cases - Want to implement closing several overlay menus, using the same Esc key without complexity, we've got you covered

There are several open-source JS libraries (react-keyboard-hook, mousetrap js, KeyboardJS) which help in integrating keyboard shortcuts but none of them are giving all the above-mentioned features out-of-the-box.

Key Takeaways
  • Ready-to-use React hooks - Copy-paste patterns for immediate implementation

  • Cross-platform compatibility - Handle Mac Cmd vs Windows Ctrl seamlessly

  • Sequential shortcuts - Build vim-style multi-key combinations (G+I navigation)

  • Smart conflict prevention - Stop shortcuts from firing when users are typing

  • Performance best practices - Efficient event management without memory leaks

References

Session Categories

Introducing a FOSS project or a new version of a popular project

Which track are you applying for?

Main track

Speakers

Anshul Sahni
Anshul Sahni Software Engineer | Zivy

Anshul Sahni is a software engineer based in Bengaluru, currently building Zivy and previously a Staff Software Engineer at Razorpay. With a B.Tech. in Information Technology from SRM University, he has led initiatives to simplify customer onboarding and infrastructure at scale. Anshul brings over seven years of experience, excelling in leadership roles and technical innovation, and is passionate about delivering impactful solutions that drive business growth and operational efficiency