8starlabs

Open In Chat

AI chats 6

About

A dropdown or inline icon row that opens ChatGPT, Claude, Perplexity, Grok, or v0 in a new tab with a given prompt pre-filled into the URL.

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

Code

How Open In Chat is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import OpenInChat from "@/components/ui/open-in-chat";

export default function OpenInChatDemo() {
  return (
    <div className="flex items-center justify-center p-10">
      <OpenInChat prompt="Summarize this page and list the key decisions." />
    </div>
  );
}

Dependencies

More by 8starlabs

View all
  • Partition Bar

    Partition Bar

    131

More in AI chats

View all
  • AI Actions

    AI Actions

    354
  • AI Artifact

    AI Artifact

    14
  • Agent Chat

    Agent Chat

    21
  • AI Suggestions

    AI Suggestions

    21
  • Aquarium Prompt

    Aquarium Prompt

    121
  • AI Orb

    AI Orb

    194
  • Prompt with Model Picker

    Prompt with Model Picker

    5
  • Chat Bubble

    Chat Bubble

    207