scriv-chat
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

scriv-chat

A chatbot component for Scriv AI.

For more information, see the Scriv documentation.

Properties

Property Attribute Description Type Default
bot (required) bot The bot slug to connect to. string undefined
buttonText button-text The text to display on the button. string "Chat"
expanded expanded Whether the chat widget is initially expanded. boolean false
position position The initial position of the chat widget on the screen. "center" | "left" | "right" 'right'
scriv scriv string SCRIV
team (required) team The team slug to connect to. string undefined
visible visible Whether the chat widget is visible on load. boolean false

CSS Custom Properties

Name Description
--button-background-color Button background color
--button-background-color-hover Button background color on hover
--button-border-color Button border color
--button-border-color-hover Button border color on hover
--button-text-color Button text color
--button-text-color-hover Button text color on hover
--scriv-z-index Z-index of the component

Built with StencilJS

Readme

Keywords

none

Package Sidebar

Install

npm i scriv-chat

Weekly Downloads

852

Version

0.2.0

License

MIT

Unpacked Size

986 kB

Total Files

63

Last publish

Collaborators

  • czue