JSPM

@assistant-ui/react

0.5.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 35164
  • Score
    100M100P100Q138927F
  • License MIT

React components for AI chat.

Package Exports

  • @assistant-ui/react
  • @assistant-ui/react/edge
  • @assistant-ui/react/styles/index.css
  • @assistant-ui/react/styles/index.css.map
  • @assistant-ui/react/styles/index.d.ts
  • @assistant-ui/react/styles/modal.css
  • @assistant-ui/react/styles/modal.css.map
  • @assistant-ui/react/styles/modal.d.ts
  • @assistant-ui/react/styles/tailwindcss/base-components.css
  • @assistant-ui/react/styles/tailwindcss/modal.css
  • @assistant-ui/react/styles/tailwindcss/thread.css
  • @assistant-ui/react/styles/themes/default.css
  • @assistant-ui/react/tailwindcss

Readme

assistant-ui Header

Product · Documentation · Examples · Discord Community · Enterprise inquiry

assistant-ui is a set of React components for AI chat, with integrations Langchain, Vercel AI SDK, TailwindCSS, shadcn-ui, react-markdown, react-syntax-highlighter, React Hook Form and more!

Wide model provider support (OpenAI, Anthropic, Mistral, Perplexity, AWS Bedrock, Azure, Google Gemini, Hugging Face, Fireworks, Cohere, Replicate, Ollama) out of the box and the ability to integrate custom APIs.

Quick Start

assistant-ui starter template

Step 1: Create a new project with assistant-ui pre-configured:

npx assistant-ui@latest create my-app
cd my-app

Step 2: Update the .env file with your OpenAI API key.

Step 3: Run the app:

npm run dev