Hossain Jahed

AI prompt Box

AI chats 3.2K

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.6K
  • Motion Footer

    Motion Footer

    6.2K
  • Cinematic landing Hero

    Cinematic landing Hero

    5.9K
  • Sign In

    Sign In

    4.9K
  • Glassmorphism Trust Hero

    Glassmorphism Trust Hero

    2.9K
  • Limelight Nav

    Limelight Nav

    2K
  • Ai chat input

    Ai chat input

    2K
  • Glass Button

    Glass Button

    1.6K

More in AI chats

View all
  • AI Actions

    AI Actions

    361
  • Aquarium Prompt

    Aquarium Prompt

    168
  • AI Artifact

    AI Artifact

    17
  • AI Suggestions

    AI Suggestions

    22
  • AI Orb

    AI Orb

    216
  • Agent Chat

    Agent Chat

    21
  • Color Picker

    Color Picker

    229
  • AI Task List

    AI Task List

    198