search-form.tsx — ui Source File
Architecture documentation for search-form.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR ef59a693_2152_9aa5_fcf5_fcdcc30d6200["search-form.tsx"] d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] ef59a693_2152_9aa5_fcf5_fcdcc30d6200 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 f826d306_7d63_5ba3_6a53_387904d37a9f["label"] ef59a693_2152_9aa5_fcf5_fcdcc30d6200 --> f826d306_7d63_5ba3_6a53_387904d37a9f 742f06fb_c1e8_243e_1fc4_8b1cf11704c2["sidebar"] ef59a693_2152_9aa5_fcf5_fcdcc30d6200 --> 742f06fb_c1e8_243e_1fc4_8b1cf11704c2 style ef59a693_2152_9aa5_fcf5_fcdcc30d6200 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Search } from "lucide-react"
import { Label } from "@/registry/default/ui/label"
import { SidebarInput } from "@/registry/default/ui/sidebar"
export function SearchForm({ ...props }: React.ComponentProps<"form">) {
return (
<form {...props}>
<div className="relative">
<Label htmlFor="search" className="sr-only">
Search
</Label>
<SidebarInput
id="search"
placeholder="Type to search..."
className="h-8 pl-7"
/>
<Search className="pointer-events-none absolute left-2 top-1/2 size-4 -translate-y-1/2 select-none opacity-50" />
</div>
</form>
)
}
Domain
Subdomains
Functions
Dependencies
- label
- lucide-react
- sidebar
Source
Frequently Asked Questions
What does search-form.tsx do?
search-form.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in search-form.tsx?
search-form.tsx defines 1 function(s): SearchForm.
What does search-form.tsx depend on?
search-form.tsx imports 3 module(s): label, lucide-react, sidebar.
Where is search-form.tsx in the architecture?
search-form.tsx is located at deprecated/www/registry/default/blocks/sidebar-16/components/search-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/blocks/sidebar-16/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free