Skip to content
ํ”„๋กœ์ ํŠธ

์†Œ๊ฐœ

๐Ÿค– shadcn/ui ๊ธฐ๋ฐ˜์˜ ์•„๋ฆ„๋‹ต๊ฒŒ ์„ค๊ณ„๋œ ์ฑ—๋ด‡ ์ปดํฌ๋„ŒํŠธ

AI ๋ฐ ๋จธ์‹ ๋Ÿฌ๋‹

์ด ์ˆ˜์น˜๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

What you can do

  • ๐Ÿ’ฌ Rich Chat Interface: Beautiful interactions and animations for a polished experience
  • Smart preview for uploaded files
  • Auto-conversion of long text to attachments
  • Markdown support with syntax highlighting

์ธก์ •๋œ ์Šคํƒ€ ์ฆ๊ฐ€

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
+1

์„œ๋กœ ๊ฒน์น˜๋Š” ๊ธฐ๊ฐ„์˜ ์ˆœ์ฆ๊ฐ€๋Ÿ‰์ด๋ฉฐ ์ผ๋ณ„ ํ•ฉ๊ณ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์ธก์ •๊ฐ’์ด ์—†์œผ๋ฉด ๋น„์›Œ ๋‘ก๋‹ˆ๋‹ค. ์Šคํƒ€๋Š” ๊ด€์‹ฌ๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉฐ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

README.md

Original

shadcn-chatbot-kit

A comprehensive chatbot component kit built on top of and fully compatible with the shadcn/ui ecosystem. Build beautiful, customizable AI chatbots in minutes while maintaining full control over your components.

hero

MIT License shadcn/ui

โœจ Features

  • ๐Ÿ’ฌ Rich Chat Interface: Beautiful interactions and animations for a polished experience
  • ๐Ÿ“Ž Advanced Attachments:
    • Smart preview for uploaded files
    • Auto-conversion of long text to attachments
    • Markdown support with syntax highlighting
  • ๐Ÿง  Thinking Process: Visual block showing LLM reasoning and thought process (๐Ÿšง WIP)
  • ๐Ÿ› ๏ธ Tool Integration:
    • Visual tool execution states
    • Cancel support for running operations
    • Smart interrupt prompts
  • ๐ŸŽจ Fully Themeable: Leverages shadcn/ui's theming system for complete visual customization
  • ๐ŸŒ“ Dark/Light Mode: Built-in theme switching support
  • ๐ŸŽฏ Developer Experience:
    • Works seamlessly with shadcn CLI
    • Easy component installation and updates
    • Composable API design for custom implementations
  • ๐ŸŽค Voice Input: Speech-to-text support for hands-free interaction (๐Ÿšง WIP)
  • ๐Ÿ“ฆ Copy & Paste Components: Install only what you need, own your components
  • ๐Ÿ”ง Highly Customizable: Modify any aspect of the components to match your needs
  • ๐Ÿ“ฑ Responsive Design: Works seamlessly across all device sizes
  • ๐Ÿš€ Modern Code: Built with the latest web standards and best practices

๐Ÿงฉ Components

The kit includes everything you need to build a full-featured chatbot:

  • Chat: Pre-built chat component, with option to build a custom one with composable components
  • Auto-Scroll Message Area: Smart scrolling behavior for new messages
  • Message Input:
    • Auto-resize textarea
    • File upload support
    • Preview attached files
  • Prompt Suggestions: Help users with quick action buttons
  • Message Actions: Built-in copy, rate response, and other utility buttons
  • Loading States: Elegant loading indicators and transitions

๐Ÿ“ฆ Installation

  1. First, follow the installation instructions for shadcn/ui in your project.

  2. Make sure you're using the modern shadcn CLI (not the legacy shadcn-ui).

  3. Install components using the CLI.

Visit the documentation for detailed installation instructions and a full list of available components.

๐Ÿš€ Quick Start

Note: This example uses the Vercel AI SDK. Follow the official Getting Started guide, before using it.

"use client"

import { useChat } from "ai/react"

import { Chat } from "@/components/ui/chat"

export function ChatDemo() {
  const { messages, input, handleInputChange, handleSubmit, status, stop } =
    useChat()


  const isLoading = status === 'submitted' || status === 'streaming'

  return (
    <Chat
      messages={messages}
      input={input}
      handleInputChange={handleInputChange}
      handleSubmit={handleSubmit}
      isGenerating={isLoading}
      stop={stop}
    />
  )
}

๐ŸŽจ Customization

All components are built using shadcn/ui's styling system, making them fully customizable using CSS variables. Visit our theme customizer to visually design your chatbot's appearance.

๐Ÿค Contributing

Contributions are always welcome! Feel free to:

  • Submit bug reports and feature requests
  • Open pull requests to improve the codebase
  • Share feedback and suggestions

๐Ÿ‘จโ€โš–๏ธ License

Licensed under the MIT license.

๊ด€๋ จ ํ”„๋กœ์ ํŠธ ์‚ดํŽด๋ณด๊ธฐ

๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ