MarovStudio
Back to marketplace

AI Prompt Input

Prompt box that grows with the text

AI & chataiprompttextareaautogrowsend
0/500
Code locked
"use client";

import { ArrowUp, Paperclip } from "lucide-react";
import { useRef, useState } from "react";

export function AiPromptInput() {
  const [value, setValue] = useState("");
  const ref = useRef<HTMLTextAreaElement>(null);

Sign in to see the code

Create a free account to copy the full source, usage snippet and AI prompt of every component.

Free — no card required.

Related components

Prompt Suggestions

AI & chat · Starter prompt suggestions

AssistantOnline

Can you summarise this page for me?

Ask anything…

AI Chat Thread

AI & chat · AI chat window with a typing indicator