- Docs
- Widget
Widget
Where the widget works, how it looks, and the calls your page can make.
- Where the widget worksThe widget answers only on your own websites and their subdomains, and on your own machine while you build.
- Light, dark or match your sitePick whether the widget draws light, dark, as your page does, or as each visitor's system does, and keep it in step with your site's own theme switch.
- Set its look for a pageChange the widget's colors, corners, font and launcher from your snippet, move it clear of your page's own corners, and style its parts with your own CSS.
- Single-page appsAdd the widget to a React, Next.js, Vue or other app that changes pages without reloading.
- npm packageLoad the widget from your own code with @notert/widget, with every call typed for TypeScript and a hook for React.
- JavaScript referenceEvery call your page can make on window.notert, what each takes, and what the widget keeps in the browser.
- What the widget records about visitorsWhat the widget learns about the people who write to you, what your team sees, and what stays in their browser.
- Content Security PolicyThe sources to allow when your site sends a Content Security Policy, and why the widget needs each one.
- AccessibilityWhat the widget does for visitors who use a keyboard, a screen reader, reduced motion or a touch screen, what it doesn't do yet, and how to tell us about a problem.
- TroubleshootingWhat to check when the launcher doesn't show up, and what each of the widget's console messages means.