# Ruixen Prompt Box

> RuixenPromptBox is a sleek and modern AI-powered text input component designed to enhance user messages effortlessly. It allows users to write or paste text and apply intelligent transformations such as summarization, grammar correction, or compression with a single click. The component features an auto-resizing textarea, ensuring a comfortable typing experience, while the clean black background and white text provide excellent readability. Transform options are displayed as interactive buttons, allowing users to select and visualize the applied transformation instantly. With a convenient send button and smooth interaction, RuixenChatRefiner is perfect for building AI chat interfaces, content refinement tools, or any application where polished text output is essential.

- Author: [Ruixen UI](https://21st.dev/@ruixen.ui)
- Library: [Ruixen UI](https://21st.dev/@ruixen.ui/library/ruixen-ui)
- License: unknown
- npm dependencies: lucide-react
- Live preview: https://21st.dev/@ruixen.ui/components/ruixen-prompt-box

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/ruixen.ui/ruixen-prompt-box?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
