React
A component and a hook, for Vite, Remix, Gatsby and any React 18 or 19 app.
On this page
Install
Usage
Notes
- The component renders nothing itself: the widget mounts on
body. - Changing a prop updates the running widget with
setOptions(); unmounting the component removes it. useAccessibility()returns the current settings, whether the panel is open, and the widget (nulluntil it mounts).
Accessibility statement
Pass
statementUrl to link your accessibility statement from the panel's footer.