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 689048c8_f1a9_509a_011e_89f0114b5951["search-form.tsx"] 00db19de_4bff_5fd7_3fcb_a9b94babaf3b["label"] 689048c8_f1a9_509a_011e_89f0114b5951 --> 00db19de_4bff_5fd7_3fcb_a9b94babaf3b f1a5091e_9f4f_a457_6394_4e05eb42bbf1["sidebar"] 689048c8_f1a9_509a_011e_89f0114b5951 --> f1a5091e_9f4f_a457_6394_4e05eb42bbf1 de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"] 689048c8_f1a9_509a_011e_89f0114b5951 --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2 style 689048c8_f1a9_509a_011e_89f0114b5951 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import { Label } from "@/registry/bases/base/ui/label"
import {
SidebarGroup,
SidebarGroupContent,
SidebarInput,
} from "@/registry/bases/base/ui/sidebar"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
export function SearchForm({ ...props }: React.ComponentProps<"form">) {
return (
<form {...props}>
<SidebarGroup className="py-0">
<SidebarGroupContent className="relative">
<Label htmlFor="search" className="sr-only">
Search
</Label>
<SidebarInput
id="search"
placeholder="Search the docs..."
className="pl-8"
/>
<IconPlaceholder
lucide="SearchIcon"
tabler="IconSearch"
hugeicons="SearchIcon"
phosphor="MagnifyingGlassIcon"
remixicon="RiSearchLine"
className="pointer-events-none absolute top-1/2 left-2 size-4 -translate-y-1/2 opacity-50 select-none"
/>
</SidebarGroupContent>
</SidebarGroup>
</form>
)
}
Domain
Subdomains
Functions
Dependencies
- icon-placeholder
- label
- 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, UIPrimitives 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): icon-placeholder, label, sidebar.
Where is search-form.tsx in the architecture?
search-form.tsx is located at apps/v4/registry/bases/base/blocks/sidebar-05/components/search-form.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/blocks/sidebar-05/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free