Dev Design Library

Conversation

Wraps messages and automatically scrolls to the bottom. Also includes a scroll button that appears when not at the bottom.

Conversation preview
Library
AI Elements
Framework
React
Type
component
License
Apache-2.0
Install
npx ai-elements@latest add conversation
Files
  • packages/elements/src/conversation.tsx
  • packages/shadcn-ui/components/ui/button.tsx
  • packages/shadcn-ui/lib/utils.ts
Source
https://github.com/vercel/ai-elements

Categories

More from AI Elements