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
  7a0f053b_6a9f_a171_1b1b_d0ae89b7811f["search-form.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  7a0f053b_6a9f_a171_1b1b_d0ae89b7811f --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  d752035b_6ed3_c6ef_e27c_eef51af9ec8d["label"]
  7a0f053b_6a9f_a171_1b1b_d0ae89b7811f --> d752035b_6ed3_c6ef_e27c_eef51af9ec8d
  12632a83_ef01_5f03_4110_ed33d49893b7["sidebar"]
  7a0f053b_6a9f_a171_1b1b_d0ae89b7811f --> 12632a83_ef01_5f03_4110_ed33d49893b7
  style 7a0f053b_6a9f_a171_1b1b_d0ae89b7811f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Search } from "lucide-react"

import { Label } from "@/registry/new-york-v4/ui/label"
import { SidebarInput } from "@/registry/new-york-v4/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 top-1/2 left-2 size-4 -translate-y-1/2 opacity-50 select-none" />
      </div>
    </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 apps/v4/registry/new-york-v4/blocks/sidebar-16/components/search-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/blocks/sidebar-16/components).

Analyze Your Own Codebase

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

Try Supermodel Free