# AI Chat Input Field

> Rich Markdown input field with code blocks, code highlighting, RTL/LTR support

- Author: [بلال عمرو](https://21st.dev/@belalamrofficial)
- License: mit
- npm dependencies: clsx, lowlight, @tiptap/core, lucide-react, @tiptap/react, tailwind-merge, @tiptap/starter-kit, @tiptap/extension-underline, @tiptap/extension-typography, @tiptap/extension-placeholder, @tiptap/extension-code-block-lowlight
- Live preview: https://21st.dev/@belalamrofficial/components/ai-chat-input-field

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/belalamrofficial/ai-chat-input-field?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
