Skip to content
Chat & AI

Open In

Open a prompt in ChatGPT, Claude, Cursor, and other chats.

Import

tsx
import { OpenIn } from "@cronus-ui/ui";
bash
npx cronus-ui add open-in-chat

Examples

.cronus

No audit fixture declares this family in .cronus yet.

React onlyParity: Not portedParity scoreboard

API Reference

Generated from the component's exported types.

OpenInLabels

Skip OpenInLabels props table
PropTypeDefaultDescription
trigger*
string——
scira*
string——
chatgpt*
string——
claude*
string——
t3*
string——
v0*
string——
cursor*
string——

OpenInProps

Extends ComponentProps<typeof DropdownMenu>

Skip OpenInProps props table
PropTypeDefaultDescription
query*
string——
labels
Partial<OpenInLabels>—Override default English strings.
open
boolean—Controlled open state.
defaultOpen
boolean—Uncontrolled initial open state.
onOpenChange
(open: boolean) => void—Called when the open state changes.
children
ReactNode—Contents of the component.
modal
boolean—When true, interaction outside the surface is blocked.

OpenInContentProps

Extends ComponentProps<typeof DropdownMenuContent>

Skip OpenInContentProps props table
PropTypeDefaultDescription
side
"top" | "right" | "bottom" | "left"—Preferred side of the trigger.
align
"start" | "center" | "end"—Alignment along the chosen side.
sideOffset
number—Distance in pixels from the trigger.
alignOffset
number—Offset along the alignment axis.
forceMount
boolean—Keep the node mounted when closed, for exit animation.
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

OpenInItemProps

Extends ComponentProps<typeof DropdownMenuItem>

Skip OpenInItemProps props table
PropTypeDefaultDescription
disabled
boolean—Disables pointer and keyboard interaction.
onSelect
(event: Event) => void—Called when the item is chosen.
textValue
string—Text used for typeahead. Defaults to the item's text.
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

OpenInLabelProps

Extends ComponentProps<typeof DropdownMenuLabel>

Skip OpenInLabelProps props table
PropTypeDefaultDescription
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

OpenInSeparatorProps

Extends ComponentProps<typeof DropdownMenuSeparator>

Skip OpenInSeparatorProps props table
PropTypeDefaultDescription
className
string—Additional class names merged onto the root.

OpenInTriggerProps

Extends ButtonProps

Skip OpenInTriggerProps props table
PropTypeDefaultDescription
labels
Partial<Pick<OpenInLabels, "trigger">>—Override default English strings.
variant
string—Visual variant.
size
string—Control size.
asChild
boolean—Render as the child element via Slot.
disabled
boolean—Disables pointer and keyboard interaction.
type
string—Native type of the underlying element.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

OpenInChatGPTProps

Extends ComponentProps<typeof DropdownMenuItem>

Skip OpenInChatGPTProps props table
PropTypeDefaultDescription
disabled
boolean—Disables pointer and keyboard interaction.
onSelect
(event: Event) => void—Called when the item is chosen.
textValue
string—Text used for typeahead. Defaults to the item's text.
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

OpenInClaudeProps

Extends ComponentProps<typeof DropdownMenuItem>

Skip OpenInClaudeProps props table
PropTypeDefaultDescription
disabled
boolean—Disables pointer and keyboard interaction.
onSelect
(event: Event) => void—Called when the item is chosen.
textValue
string—Text used for typeahead. Defaults to the item's text.
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

OpenInT3Props

Extends ComponentProps<typeof DropdownMenuItem>

Skip OpenInT3Props props table
PropTypeDefaultDescription
disabled
boolean—Disables pointer and keyboard interaction.
onSelect
(event: Event) => void—Called when the item is chosen.
textValue
string—Text used for typeahead. Defaults to the item's text.
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

OpenInSciraProps

Extends ComponentProps<typeof DropdownMenuItem>

Skip OpenInSciraProps props table
PropTypeDefaultDescription
disabled
boolean—Disables pointer and keyboard interaction.
onSelect
(event: Event) => void—Called when the item is chosen.
textValue
string—Text used for typeahead. Defaults to the item's text.
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

OpenInv0Props

Extends ComponentProps<typeof DropdownMenuItem>

Skip OpenInv0Props props table
PropTypeDefaultDescription
disabled
boolean—Disables pointer and keyboard interaction.
onSelect
(event: Event) => void—Called when the item is chosen.
textValue
string—Text used for typeahead. Defaults to the item's text.
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

OpenInCursorProps

Extends ComponentProps<typeof DropdownMenuItem>

Skip OpenInCursorProps props table
PropTypeDefaultDescription
disabled
boolean—Disables pointer and keyboard interaction.
onSelect
(event: Event) => void—Called when the item is chosen.
textValue
string—Text used for typeahead. Defaults to the item's text.
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.