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 e07c4915_99d1_73d1_2e96_efea554d6620["search-form.tsx"] e283b120_3e25_931b_59db_7a7787678698["label"] e07c4915_99d1_73d1_2e96_efea554d6620 --> e283b120_3e25_931b_59db_7a7787678698 1fee781a_1910_afaa_bb29_21305eb0ae61["sidebar"] e07c4915_99d1_73d1_2e96_efea554d6620 --> 1fee781a_1910_afaa_bb29_21305eb0ae61 de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"] e07c4915_99d1_73d1_2e96_efea554d6620 --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2 style e07c4915_99d1_73d1_2e96_efea554d6620 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import { Label } from "@/registry/bases/radix/ui/label"
import { 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}>
<div className="relative">
<Label htmlFor="search" className="sr-only">
Search
</Label>
<SidebarInput
id="search"
placeholder="Type to search..."
className="h-8 pl-7"
/>
<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"
/>
</div>
</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-16/components/search-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/bases/radix/blocks/sidebar-16/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free