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

    21
  • 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

  • Full Chat Window

    Full Chat Window

  • Send Shortcut Prompt

    Send Shortcut Prompt

  • Basic Prompt Box

    Basic Prompt Box

More in AI chats

View all
  • AI Actions

    AI Actions

    337
  • Aquarium Prompt

    Aquarium Prompt

    28
  • Color Picker

    Color Picker

    164
  • Environment Variables

    Environment Variables

    19
  • Commit

    Commit

    29
  • Illos Knowledge Sources

    Illos Knowledge Sources

    30
  • Streaming Text

    Streaming Text

    24
  • Suggestions

    Suggestions

    36