# Ai Assistant

> The AI Message Bar is an interactive chat interface with a modern design featuring a sleek gradient background. It allows users to communicate with an AI assistant through a message input field, displaying both user messages and AI responses in a conversational format. The component includes visual indicators when the AI is "typing," animations for message appearance, and the ability to clear chat history, all within a responsive design that adapts to different screen sizes.

- Author: [Mridul Dhamija](https://21st.dev/@coderislive07)
- License: mit
- npm dependencies: lucide-react
- Live preview: https://21st.dev/@coderislive07/components/ai-assistat

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/coderislive07/ai-assistat?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt
