@visual-framework/vf-chatbot-action-prompt
v1.0.0
Published
Visual Framework Chatbot Action Prompt component
Readme
Chatbot Action Prompt component
About
The action prompt component for the Visual Framework chatbot. This component provides interactive links that can be used in the chatbot interface for various purposes.
Usage
When to use
The action prompt component is used as a child component for standalone or modal chatbot containers
- Suggestion links in the welcome screen
- Action links within chat messages
- Call-to-action links
- Form submission triggers
All action prompts are rendered as links with consistent styling, regardless of their function.
When not to use
This component is not to be used independent of the standalone or modal chatbot containers as it may not work correctly
Install
yarn add --dev @visual-framework/vf-chatbot-action-promptSass/CSS
The style files included are written in Sass. If you're using a VF-core project, you can import it like this:
@import "@visual-framework/vf-chatbot-action-prompt/index.scss";