react-simple-focus-within

The missing JS API of the CSS `:focus-within` for React


Keywords
css, focus, focus-within, react, reactjs-components
License
MIT
Install
npm install react-simple-focus-within@1.1.4

Documentation

react-focus-utils

Release npm

This package includes:

  • FocusWithin component — the missing JS API of the CSS :focus-within for React
  • WithSelector component to allow preview of pseudo-styles like :hover and :focus in styleguides
  • mixins — a collection of mixins for pseudo styles (:focus, :disabled) to work with CSS-in-JS libraries

Documentation