Home / File/ search-form.tsx — ui Source File

search-form.tsx — ui Source File

Architecture documentation for search-form.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  00baf3b9_c5df_4f28_4ca6_900d936cad6c["search-form.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  00baf3b9_c5df_4f28_4ca6_900d936cad6c --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  f826d306_7d63_5ba3_6a53_387904d37a9f["label"]
  00baf3b9_c5df_4f28_4ca6_900d936cad6c --> f826d306_7d63_5ba3_6a53_387904d37a9f
  742f06fb_c1e8_243e_1fc4_8b1cf11704c2["sidebar"]
  00baf3b9_c5df_4f28_4ca6_900d936cad6c --> 742f06fb_c1e8_243e_1fc4_8b1cf11704c2
  style 00baf3b9_c5df_4f28_4ca6_900d936cad6c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Search } from "lucide-react"

import { Label } from "@/registry/default/ui/label"
import {
  SidebarGroup,
  SidebarGroupContent,
  SidebarInput,
} from "@/registry/default/ui/sidebar"

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"
          />
          <Search className="pointer-events-none absolute left-2 top-1/2 size-4 -translate-y-1/2 select-none opacity-50" />
        </SidebarGroupContent>
      </SidebarGroup>
    </form>
  )
}

Subdomains

Functions

Dependencies

  • label
  • lucide-react
  • sidebar

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-01/components/search-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/blocks/sidebar-01/components).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free