About 1,300,000 results
Open links in new tab
  1. GitHub - leon-good-life/arrow-keys-react: Easily integrate your react

    Easily integrate your react component with keyboard arrow keys, with the same configuration used in swipe-react and wheel-react packages.

  2. arrow-keys-react - npm

    The element must be on focus in order to detect arrow keys. The arrow keys will be detected when the user will click on the element, or focus it using tab key in the keyboard. Alterntively you can program your component to focus() when it loaded.

  3. react-aria-menubutton | A fully accessible, easily themeable, React ...

    A React component (set of components, really) that will help you build accessible menu buttons by providing keyboard interactions and ARIA attributes aligned with the WAI-ARIA Menu Button Design Pattern.

  4. Fluent UI React v9

    This hook enables keyboard navigation using the arrow keys (up/down/left/right), among a collection of focusable elements. This hook is powered using the Mover API in tabster. In addition to the arrow keys, Home and End keys will navigate to the first and last focusable element in the collection respectively.

  5. A React hook for managing focus of elements in a list based on keyboard

    import * as React from 'react'; type FocusIndex = number | null; /** * A React hook for managing focus of elements in a list based on keyboard * arrows (up and down). Great for a11y and UX. * * This hook does not deal with the actual imperative `.focus()` part at all. * It solely calculates the which index in a list which should currently be ...

  6. React Refocus | Enhance Focus Management and Accessibility in React ...

    Control and manage focus with hooks and components designed for accessibility and usability. Enable seamless keyboard navigation with customizable navigation hooks for a smoother user experience. Ensure your applications are accessible with focus rings, skip links, and focus traps.

  7. GitHub - accessible-ui/using-keyboard: React utilities for adding ...

    A React component that adds a using-keyboard class to its child element when the keyboard was used more recently than the mouse for focusing an element. It removes the class each time a mousedown event fires.

  8. ReactJS: Handle Spatial Navigation (Keyboard and Gamepad)

    I'm creating this netflix-like app in ReactJS and i need to implement spatial controls: you should be able to navigate the app using keyboard arrow keys (not tab) or gamepad by focusing one element at the time.

  9. Keyboard Navigation for List in React | by Mykyta Prus

    Dec 6, 2023 · So in this article, I will show you how to create a list with arrow key navigation. const [currentFocus, setCurrentFocus] = useState(0); useKeyPressEvent('ArrowDown', () => setCurrentFocus(currentFocus === size - 1 ? 0 : currentFocus + 1)); useKeyPressEvent('ArrowUp', () => setCurrentFocus(currentFocus === 0 ? size - 1 : currentFocus - 1));

  10. React Roving Focus On Keyboard Arrow Key - CodePen

    The ArrowUp and ArrowDown keys are used to move focus between inputs in a row, while the ArrowUp and ArrowDown keys move focus between the rows. When ...

  11. Some results have been removed
Refresh