Home / Function/ GroupChatDialog() — ui Function Reference

GroupChatDialog() — ui Function Reference

Architecture documentation for the GroupChatDialog() function in chatgpt.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  d2199110_0004_6828_6048_4f3b91dcb035["GroupChatDialog()"]
  55c4aca2_522f_78c3_fff4_924b6638dbe1["chatgpt.tsx"]
  d2199110_0004_6828_6048_4f3b91dcb035 -->|defined in| 55c4aca2_522f_78c3_fff4_924b6638dbe1
  style d2199110_0004_6828_6048_4f3b91dcb035 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/blocks/chatgpt.tsx lines 363–393

function GroupChatDialog() {
  return (
    <Example title="Group Chat Dialog" className="items-center justify-center">
      <AlertDialog>
        <AlertDialogTrigger asChild>
          <Button>Start Group Chat</Button>
        </AlertDialogTrigger>
        <AlertDialogContent>
          <AlertDialogHeader>
            <AlertDialogTitle>Use ChatGPT together</AlertDialogTitle>
            <AlertDialogDescription>
              Add people to your chats to plan, share ideas, and get creative.
            </AlertDialogDescription>
          </AlertDialogHeader>
          <AlertDialogFooter className="flex-row items-center justify-between sm:justify-between">
            <a
              href="#"
              className="text-muted-foreground hover:text-foreground text-sm underline underline-offset-4"
            >
              Learn more
            </a>
            <div className="flex gap-2">
              <AlertDialogCancel>Cancel</AlertDialogCancel>
              <AlertDialogAction>Start group chat</AlertDialogAction>
            </div>
          </AlertDialogFooter>
        </AlertDialogContent>
      </AlertDialog>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does GroupChatDialog() do?
GroupChatDialog() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/blocks/chatgpt.tsx.
Where is GroupChatDialog() defined?
GroupChatDialog() is defined in apps/v4/registry/bases/radix/blocks/chatgpt.tsx at line 363.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free