combobox.tsx — ui Source File
Architecture documentation for combobox.tsx, a tsx file in the ui codebase. 6 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR fb6605c7_4550_6f63_97e7_de6776ed6521["combobox.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] fb6605c7_4550_6f63_97e7_de6776ed6521 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 191e4a89_25e4_f7a3_d5fb_d71d101e0990["utils"] fb6605c7_4550_6f63_97e7_de6776ed6521 --> 191e4a89_25e4_f7a3_d5fb_d71d101e0990 c79cdc74_50fb_62bd_465f_35936d2c5eac["button"] fb6605c7_4550_6f63_97e7_de6776ed6521 --> c79cdc74_50fb_62bd_465f_35936d2c5eac dfddfdc3_0d43_81b4_1080_a6cdbc966993["input-group"] fb6605c7_4550_6f63_97e7_de6776ed6521 --> dfddfdc3_0d43_81b4_1080_a6cdbc966993 dd5ca5b1_3f58_bdee_d2d5_fde9b4c47ed3["react"] fb6605c7_4550_6f63_97e7_de6776ed6521 --> dd5ca5b1_3f58_bdee_d2d5_fde9b4c47ed3 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] fb6605c7_4550_6f63_97e7_de6776ed6521 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 style fb6605c7_4550_6f63_97e7_de6776ed6521 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { cn } from "@/examples/radix/lib/utils"
import { Button } from "@/examples/radix/ui-rtl/button"
import {
InputGroup,
InputGroupAddon,
InputGroupButton,
InputGroupInput,
} from "@/examples/radix/ui-rtl/input-group"
import { Combobox as ComboboxPrimitive } from "@base-ui/react"
import { CheckIcon, ChevronDownIcon, XIcon } from "lucide-react"
const Combobox = ComboboxPrimitive.Root
function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props) {
return <ComboboxPrimitive.Value data-slot="combobox-value" {...props} />
}
function ComboboxTrigger({
className,
children,
...props
}: ComboboxPrimitive.Trigger.Props) {
return (
<ComboboxPrimitive.Trigger
data-slot="combobox-trigger"
className={cn("[&_svg:not([class*='size-'])]:size-4", className)}
{...props}
>
{children}
<ChevronDownIcon className="text-muted-foreground pointer-events-none size-4" />
</ComboboxPrimitive.Trigger>
)
}
function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) {
return (
<ComboboxPrimitive.Clear
data-slot="combobox-clear"
render={<InputGroupButton variant="ghost" size="icon-xs" />}
className={cn(className)}
{...props}
>
<XIcon className="pointer-events-none" />
</ComboboxPrimitive.Clear>
)
}
function ComboboxInput({
className,
children,
disabled = false,
showTrigger = true,
showClear = false,
...props
}: ComboboxPrimitive.Input.Props & {
showTrigger?: boolean
showClear?: boolean
// ... (242 more lines)
Domain
Subdomains
Functions
Dependencies
- button
- input-group
- lucide-react
- react
- react
- utils
Source
Frequently Asked Questions
What does combobox.tsx do?
combobox.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in combobox.tsx?
combobox.tsx defines 16 function(s): ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, and 6 more.
What does combobox.tsx depend on?
combobox.tsx imports 6 module(s): button, input-group, lucide-react, react, react, utils.
Where is combobox.tsx in the architecture?
combobox.tsx is located at apps/v4/examples/radix/ui-rtl/combobox.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix/ui-rtl).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free