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 80c52056_10bd_0f09_f1a3_c189a51fa815["search-form.tsx"] d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] 80c52056_10bd_0f09_f1a3_c189a51fa815 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 fa665cdb_5f79_b81a_95ab_12ba182fc175["label"] 80c52056_10bd_0f09_f1a3_c189a51fa815 --> fa665cdb_5f79_b81a_95ab_12ba182fc175 6ff5c02b_2b25_4633_4ccd_fd28f2f55862["sidebar"] 80c52056_10bd_0f09_f1a3_c189a51fa815 --> 6ff5c02b_2b25_4633_4ccd_fd28f2f55862 style 80c52056_10bd_0f09_f1a3_c189a51fa815 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Search } from "lucide-react"
import { Label } from "@/registry/new-york/ui/label"
import { SidebarInput } from "@/registry/new-york/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/new-york/blocks/sidebar-16/components/search-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/blocks/sidebar-16/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free