React
Add the widget with the script tag in public/index.html. It works in every React app today.
Option A — Script tag (Create React App / Vite)
Edit public/index.html and paste before </body>:
Option B — npm SDK (coming soon)
Coming soon
npm package coming soon — use the script tag today.
@incluxa/a11y-sdk is not published to npm yet, so the commands below will not work until it is. They show the planned API.Install the SDK (once published):
Wrap your application with A11yProvider and render the toolbar:
Enable or disable features from any component using the hook:
Tip
Use Option A today. Option B, for controlling features from your own components, will be available when the npm package is published.