Components
Loading preview...
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.
npx shadcn@latest add https://21st.dev/r/ruixen.ui/ruixen-prompt-boximport RuixenPromptBox from "@/components/ui/ruixen-prompt-box";
export default function DemoRuixenPromptBox () {
return (
<RuixenPromptBox />
);
};