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
  98c69c76_c0a4_3246_3754_5a1a2f0e50e8["ComboboxClear()"]
  1a6296a3_162d_d8cc_b69b_ee8d2255b8cd["combobox.tsx"]
  98c69c76_c0a4_3246_3754_5a1a2f0e50e8 -->|defined in| 1a6296a3_162d_d8cc_b69b_ee8d2255b8cd
  style 98c69c76_c0a4_3246_3754_5a1a2f0e50e8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/combobox.tsx lines 42–53

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>
  )
}

Subdomains

Frequently Asked Questions

What does ComboboxClear() do?
ComboboxClear() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/combobox.tsx.
Where is ComboboxClear() defined?
ComboboxClear() is defined in apps/v4/registry/new-york-v4/ui/combobox.tsx at line 42.

Analyze Your Own Codebase

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

Try Supermodel Free