diff --git a/styleguide/index.html b/styleguide/index.html index 96ae3e6..851728d 100644 --- a/styleguide/index.html +++ b/styleguide/index.html @@ -433,6 +433,39 @@ A living reference for every component, element, & pattern across uncloseai. chat widget via a single script tag. The widget provides free machine learning chat, page translation, & text to speech.
+ +<script src="https://uncloseai.com/uncloseai.js" type="module"></script>
+
+Place before </body>. The script injects a floating button (bottom right) that opens a chat modal. Translation & TTS features appear as controls inside the modal.
| Feature | Trigger | Notes |
|---|---|---|
| Chat | Click floating button | Page context passed automatically |
| Translate | Globe icon in modal controls | Renders translated page inline via iframe |
| Text to Speech | Speaker icon in modal controls | Multiple voices, adjustable speed |
The widget loads its own stylesheet (uncloseai-modal-pico.css on PicoCSS sites, uncloseai-modal-builtin.css elsewhere). All selectors scope to dialog#uncloseai-embedded-modal, dialog#translate-modal, or dialog#tts-modal to avoid leaking into host page styles.
On the software page, .project-uncloseai spans full grid width at desktop breakpoints.