Popularity
1.6
Growing
Activity
2.7
-
62
9
7

Programming language: CoffeeScript
Tags: UI Components     Miscellaneous    

react-tabguard alternatives and similar libraries

Based on the "Miscellaneous" category

Do you think we are missing an alternative of react-tabguard or a related project?

Add another 'Miscellaneous' Library

README

React TabGuard

React TabGuard example

Installation:

npm install react-tabguard

Why?

There is no easy way to limit tabbing to a specified area inside your HMTL document. The typical use case where you want to restrict this behavior would be modal dialogs or lightboxes with forms. It’s not desirable to lose focus on the overlay window when tabbing, that's why we created React TabGuard to save the day.

Usage:

'use strict';

let React = require('react');
let TabGuard = require('react-tabguard');

let App = React.createClass({
  render: function() {
    return (
      <TabGuard>
        <input type="text" placeholder="Name"/>
        <input type="number" placeholder="Age"/>
        <button>Send</button>
      </TabGuard>
    );
  }
});

React.render(<App />, document.getElementById('content'));