Home / File/ notion-prompt-form.tsx — ui Source File

notion-prompt-form.tsx — ui Source File

Architecture documentation for notion-prompt-form.tsx, a tsx file in the ui codebase. 11 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 11 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf["notion-prompt-form.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  39a0d62e_8e7d_d097_eb95_91d2bca361f7["icons-react"]
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf --> 39a0d62e_8e7d_d097_eb95_91d2bca361f7
  550576ca_32fe_8288_72d6_10281189833b["avatar"]
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf --> 550576ca_32fe_8288_72d6_10281189833b
  4c79c55d_d834_3cdd_ce17_cc4f4eb47d55["badge"]
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf --> 4c79c55d_d834_3cdd_ce17_cc4f4eb47d55
  ea5fe791_bf71_2e59_8da4_433dcd06ee7b["command"]
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf --> ea5fe791_bf71_2e59_8da4_433dcd06ee7b
  d1cb37f2_0d1d_01bc_0d60_a15219afac51["dropdown-menu"]
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf --> d1cb37f2_0d1d_01bc_0d60_a15219afac51
  169af77a_46c3_8fec_4801_f34a0f1a3471["field"]
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf --> 169af77a_46c3_8fec_4801_f34a0f1a3471
  41df1c2c_a3b4_dc22_8bc9_310fe8b6ba9b["input-group"]
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf --> 41df1c2c_a3b4_dc22_8bc9_310fe8b6ba9b
  64a3481c_a85b_fe79_409a_cb7f3f4bb871["popover"]
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf --> 64a3481c_a85b_fe79_409a_cb7f3f4bb871
  38ebb3c2_9638_6c9d_8ced_a16ec1ff06c9["switch"]
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf --> 38ebb3c2_9638_6c9d_8ced_a16ec1ff06c9
  a2518e24_160d_3f8f_bb12_2206d8e84ab8["tooltip"]
  6c8d8217_fb36_5aa1_e598_8ea3a33a21bf --> a2518e24_160d_3f8f_bb12_2206d8e84ab8
  style 6c8d8217_fb36_5aa1_e598_8ea3a33a21bf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import { useMemo, useState } from "react"
import {
  IconApps,
  IconArrowUp,
  IconAt,
  IconBook,
  IconBrandAbstract,
  IconBrandOpenai,
  IconBrandZeit,
  IconCircleDashedPlus,
  IconPaperclip,
  IconPlus,
  IconWorld,
  IconX,
} from "@tabler/icons-react"

import {
  Avatar,
  AvatarFallback,
  AvatarImage,
} from "@/registry/new-york-v4/ui/avatar"
import { Badge } from "@/registry/new-york-v4/ui/badge"
import {
  Command,
  CommandEmpty,
  CommandGroup,
  CommandInput,
  CommandItem,
  CommandList,
} from "@/registry/new-york-v4/ui/command"
import {
  DropdownMenu,
  DropdownMenuCheckboxItem,
  DropdownMenuContent,
  DropdownMenuGroup,
  DropdownMenuItem,
  DropdownMenuLabel,
  DropdownMenuSeparator,
  DropdownMenuSub,
  DropdownMenuSubContent,
  DropdownMenuSubTrigger,
  DropdownMenuTrigger,
} from "@/registry/new-york-v4/ui/dropdown-menu"
import { Field, FieldLabel } from "@/registry/new-york-v4/ui/field"
import {
  InputGroup,
  InputGroupAddon,
  InputGroupButton,
  InputGroupTextarea,
} from "@/registry/new-york-v4/ui/input-group"
import {
  Popover,
  PopoverContent,
  PopoverTrigger,
} from "@/registry/new-york-v4/ui/popover"
import { Switch } from "@/registry/new-york-v4/ui/switch"
import {
  Tooltip,
// ... (405 more lines)

Subdomains

Dependencies

  • avatar
  • badge
  • command
  • dropdown-menu
  • field
  • icons-react
  • input-group
  • popover
  • react
  • switch
  • tooltip

Frequently Asked Questions

What does notion-prompt-form.tsx do?
notion-prompt-form.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in notion-prompt-form.tsx?
notion-prompt-form.tsx defines 2 function(s): MentionableIcon, NotionPromptForm.
What does notion-prompt-form.tsx depend on?
notion-prompt-form.tsx imports 11 module(s): avatar, badge, command, dropdown-menu, field, icons-react, input-group, popover, and 3 more.
Where is notion-prompt-form.tsx in the architecture?
notion-prompt-form.tsx is located at apps/v4/app/(internal)/sink/(pages)/forms/notion-prompt-form.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/app/(internal)/sink/(pages)/forms).

Analyze Your Own Codebase

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

Try Supermodel Free