A dropdown that opens the same prompt in ChatGPT, Claude, Cursor, T3, Scira, or v0 with one click.
Default
Pass a query to OpenIn, then compose provider items inside OpenInContent.
Loading…
Installation
CLI
Also needs
npx @sonojs/ui@latest add button dropdown-menu && npm i lucide-reactUsage
open-in-chat.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| query | string | — | Prompt text shared with every provider link via context. |
| …DropdownMenu | DropdownMenu props | — | `OpenIn` forwards remaining props to `DropdownMenu`. |
| children | ReactNode | — | Compose `OpenInTrigger`, `OpenInContent`, and provider items. |