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

    20
  • Thumbs Down with Reasons

    Thumbs Down with Reasons

  • Advanced Parameters Panel

    Advanced Parameters Panel

  • Code Block with Copy Button

    Code Block with Copy Button

  • Compare Answers

    Compare Answers

  • Send Shortcut Prompt

    Send Shortcut Prompt

  • Basic Prompt Box

    Basic Prompt Box

  • Answer Versions

    Answer Versions

More in AI chats

View all
  • AI Actions

    AI Actions

    329
  • Attachments

    Attachments

    26
  • Streaming Text

    Streaming Text

    18
  • Color Picker

    Color Picker

    136
  • Memory Scope

    Memory Scope

    3
  • AI Task List

    AI Task List

    173
  • Message Thread

    Message Thread

    50
  • Agent Chat

    Agent Chat

    18