mmrahmanbappi

Prompt with Model Picker

AI chats 2

About

A chat prompt textarea with a dropdown to pick the AI's answer mode (Fast, Balanced, Deep thinking) before sending a message. Ported from the original HTML/CSS/JS component by MM Rahman Bappi (100 Free AI UI Components), MIT licensed.

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

Code

How Prompt with Model Picker is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ModelPickerPrompt from "@/components/ui/model-picker-prompt";

export default function Demo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-[#f7f7f8] p-6 dark:bg-[#0f0f13]">
      <ModelPickerPrompt />
    </div>
  );
}

More by mmrahmanbappi

View all
  • Web Search Indicator

    Web Search Indicator

    19
  • Send Shortcut Prompt

    Send Shortcut Prompt

  • Basic Prompt Box

    Basic Prompt Box

  • Answer Versions

    Answer Versions

  • Thumbs Feedback

    Thumbs Feedback

  • Was This Helpful Bar

    Was This Helpful Bar

  • Typing Dots

    Typing Dots

  • Confidence Badge

    Confidence Badge

More in AI chats

View all
  • AI Actions

    AI Actions

    326
  • Agent Chat

    Agent Chat

    18
  • Message Thread

    Message Thread

    45
  • Attachments

    Attachments

    22
  • Color Picker

    Color Picker

    110
  • Environment Variables

    Environment Variables

    14
  • System Message

    System Message

    58
  • AI Diff

    AI Diff

    74