Home / Function/ ComboboxClear() — ui Function Reference

ComboboxClear() — ui Function Reference

Architecture documentation for the ComboboxClear() function in combobox.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  d444b84b_f539_f16c_1c0e_81c84e52498d["ComboboxClear()"]
  07d0225b_e62e_2bb7_a43c_705ab3ab636d["combobox.tsx"]
  d444b84b_f539_f16c_1c0e_81c84e52498d -->|defined in| 07d0225b_e62e_2bb7_a43c_705ab3ab636d
  style d444b84b_f539_f16c_1c0e_81c84e52498d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/combobox.tsx lines 46–64

function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) {
  return (
    <ComboboxPrimitive.Clear
      data-slot="combobox-clear"
      render={<InputGroupButton variant="ghost" size="icon-xs" />}
      className={cn("cn-combobox-clear", className)}
      {...props}
    >
      <IconPlaceholder
        lucide="XIcon"
        tabler="IconX"
        hugeicons="Cancel01Icon"
        phosphor="XIcon"
        remixicon="RiCloseLine"
        className="cn-combobox-clear-icon pointer-events-none"
      />
    </ComboboxPrimitive.Clear>
  )
}

Subdomains

Frequently Asked Questions

What does ComboboxClear() do?
ComboboxClear() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/combobox.tsx.
Where is ComboboxClear() defined?
ComboboxClear() is defined in apps/v4/registry/bases/radix/ui/combobox.tsx at line 46.

Analyze Your Own Codebase

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

Try Supermodel Free