Conversation
Container with auto-scroll and scroll-to-bottom button
Message
User and assistant message bubbles with actions
I'll analyze your website's SEO performance. Here are the key metrics I found:
- Domain Authority: 45/100
- Organic Traffic: 12,500 visits/month
- Indexed Pages: 342
Data Card
Collapsible cards with multiple variants for different data types
Tool Invocation
Timeline-based tool execution display with status indicators
Loader
Loading states, skeletons, and streaming cursor
The AI is generating a response
Reasoning
Collapsible thinking/reasoning display for AI models
Sources
Citation and source reference components
Suggestions
Suggestion cards and quick-action prompts
Code Block
Syntax-highlighted code display with copy and download
1 import { Shimmer } from "@/lib/chatbot"; 2 3 export function LoadingState() { 4 return ( 5 <div className="flex items-center gap-2"> 6 <Shimmer duration={2}> 7 Loading content... 8 </Shimmer> 9 </div> 10 ); 11 }
Use the Shimmer component for loading states and Typewriter for text animation effects. Import them from @/lib/chatbot.
Web Preview
Link preview cards with OG image support
Shimmer
Animated text shimmer effect for loading states
Generating your SEO report...
Analyzing keywords...
Processing large dataset, please wait...
Loading Dashboard
Typewriter
Character-by-character text reveal animation
Actions
Message action bar with copy, like/dislike, share, stop/reload
Hover over this area to reveal the actions bar.
Inline Citation
Inline source citations with tooltips
React Server Components
