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 3ea30e90_f3c8_7b3d_e01f_3a3dd7178953["search-form.tsx"] e283b120_3e25_931b_59db_7a7787678698["label"] 3ea30e90_f3c8_7b3d_e01f_3a3dd7178953 --> e283b120_3e25_931b_59db_7a7787678698 1fee781a_1910_afaa_bb29_21305eb0ae61["sidebar"] 3ea30e90_f3c8_7b3d_e01f_3a3dd7178953 --> 1fee781a_1910_afaa_bb29_21305eb0ae61 de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"] 3ea30e90_f3c8_7b3d_e01f_3a3dd7178953 --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2 style 3ea30e90_f3c8_7b3d_e01f_3a3dd7178953 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import { Label } from "@/registry/bases/radix/ui/label"
import {
SidebarGroup,
SidebarGroupContent,
SidebarInput,
} from "@/registry/bases/radix/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, 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): icon-placeholder, label, sidebar.
Where is search-form.tsx in the architecture?
search-form.tsx is located at apps/v4/registry/bases/radix/blocks/sidebar-05/components/search-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/bases/radix/blocks/sidebar-05/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free