The LeafyGreen Chat library is a set of UI components and patterns that can be used to build high-quality, and consistent MongoDB AI-assisted experiences.
The Figma library is published under LeafyGreen Chat Library and can be used in your files.
Our Chat interface currently can be surfaced in two different variants: Chat Window and Fixed Chat Window.
The Chat Window surfaces the Chat Window modal alongside a modal backdrop that covers the entire page. Use this variant in instances where the Chat interface is the main focus.
The Fixed Chat Window is displayed on the page alongside content that is already shown. This variant is to be used when the Chat interface is used when a user needs to see contextual information to help them interact with Chat, or if the Chat feature is not meant to disrupt the user’s flow within the page.
Our Chat interfaced can be triggered in several different ways. You can use a Floating Action Button (FAB), to trigger our Fixed Chat Window or Chat Window.
You can also use our Input Bar component to trigger our Chat Window.