ComboboxWithClear() — ui Function Reference
Architecture documentation for the ComboboxWithClear() function in combobox-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD c0fa52bb_acdd_561a_6cb7_9baa469e284b["ComboboxWithClear()"] 08c943e1_cbb3_6c4d_0fd2_1693e54a1d0a["combobox-example.tsx"] c0fa52bb_acdd_561a_6cb7_9baa469e284b -->|defined in| 08c943e1_cbb3_6c4d_0fd2_1693e54a1d0a style c0fa52bb_acdd_561a_6cb7_9baa469e284b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/combobox-example.tsx lines 698–716
function ComboboxWithClear() {
return (
<Example title="With Clear Button">
<Combobox items={frameworks} defaultValue={frameworks[0]}>
<ComboboxInput placeholder="Select a framework" showClear />
<ComboboxContent>
<ComboboxEmpty>No items found.</ComboboxEmpty>
<ComboboxList>
{(item) => (
<ComboboxItem key={item} value={item}>
{item}
</ComboboxItem>
)}
</ComboboxList>
</ComboboxContent>
</Combobox>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ComboboxWithClear() do?
ComboboxWithClear() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/combobox-example.tsx.
Where is ComboboxWithClear() defined?
ComboboxWithClear() is defined in apps/v4/registry/bases/base/examples/combobox-example.tsx at line 698.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free