# focusgroup Adds a typed `focusgroup` attribute to React's `HTMLAttributes` for components that use the experimental [Open UI Focusgroup V2 proposal](https://open-ui.org/components/focusgroup-v2.explainer/). This typing is intended for development-time validation only. It does not provide focusgroup behavior or become part of a package's public API. ## Usage Opt into the typing from the consuming project's TypeScript configuration: ```json { "compilerOptions": { "types": ["focusgroup"] } } ``` The repository's root `typeRoots` already includes `typings`. A project that overrides `typeRoots` must also include the repository typings directory. React elements then accept supported focusgroup values: ```tsx
;
;
;
;