Skip to content
Discussion options

You must be logged in to vote

There is a set of hooks exported by @fluentui/react-components/@fluentui/react-tabster:

useArrowNavigationGroup,
useFocusableGroup,
useFocusFinders,
useFocusVisible,
useFocusWithin,
useKeyboardNavAttribute,
useModalAttributes,
useTabsterAttributes,

Here is a simple example for useArrowNavigationGroup:

export default function App() {
  const attrs = useArrowNavigationGroup({ axis: "horizontal", circular: true });

  return (
    <div className="App">
      <h1>Hello CodeSandbox</h1>
      <h2>Start editing to see some magic happen!</h2>

      <div style={

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AkiraVoid
Comment options

Answer selected by khmakoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants