Hossain Jahed

AI prompt Box

AI chats 3.1K

About

AI prompt Box, AI chat Input, AI chat box, with search, with think, with thinking, with canvas, with audio recording

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds AI prompt Box to your project and fits it to your theme.

Code

How AI prompt Box is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { PromptInputBox } from "@/components/ui/ai-prompt-box";

const DemoOne = () => {
    const handleSendMessage = (message: string, files?: File[]) => {
    console.log('Message:', message);
    console.log('Files:', files);
    };
  return (
    <div className="flex w-full h-screen justify-center items-center bg-[radial-gradient(125%_125%_at_50%_101%,rgba(245,87,2,1)_10.5%,rgba(245,120,2,1)_16%,rgba(245,140,2,1)_17.5%,rgba(245,170,100,1)_25%,rgba(238,174,202,1)_40%,rgba(202,179,214,1)_65%,rgba(148,201,233,1)_100%)]">
    <div className="p-4 w-[500px]">
    <PromptInputBox onSend={(message, files) => console.log(message, files)} />
    </div>
    </div>
  );
};

export { DemoOne };

Dependencies

More by Hossain Jahed

View all
  • Spotlight Card

    Spotlight Card

    9.4K
  • Motion Footer

    Motion Footer

    6.1K
  • Cinematic landing Hero

    Cinematic landing Hero

    5.9K
  • Sign In

    Sign In

    4.8K
  • Glassmorphism Trust Hero

    Glassmorphism Trust Hero

    2.9K
  • Limelight Nav

    Limelight Nav

    2K
  • Ai chat input

    Ai chat input

    2K
  • Flow Field Background

    Flow Field Background

    1.6K

More in AI chats

View all
  • AI Actions

    AI Actions

    351
  • Aquarium Prompt

    Aquarium Prompt

    113
  • Agent Chat

    Agent Chat

    21
  • Message With Header And Delivery Status

    Message With Header And Delivery Status

    60
  • Research Report

    Research Report

    7
  • Tool Web Fetch

    Tool Web Fetch

    4
  • Color Picker

    Color Picker

    201
  • Suggestions

    Suggestions

    40