Home / Function/ SidebarInput() — ui Function Reference

SidebarInput() — ui Function Reference

Architecture documentation for the SidebarInput() function in sidebar.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  3a1e6dea_1bec_eae1_3392_b8eee457b41e["SidebarInput()"]
  334954a9_5573_f901_08c0_da02d404f69b["sidebar.tsx"]
  3a1e6dea_1bec_eae1_3392_b8eee457b41e -->|defined in| 334954a9_5573_f901_08c0_da02d404f69b
  style 3a1e6dea_1bec_eae1_3392_b8eee457b41e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui/sidebar.tsx lines 317–329

function SidebarInput({
  className,
  ...props
}: React.ComponentProps<typeof Input>) {
  return (
    <Input
      data-slot="sidebar-input"
      data-sidebar="input"
      className={cn("bg-background h-8 w-full shadow-none", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does SidebarInput() do?
SidebarInput() is a function in the ui codebase, defined in apps/v4/examples/base/ui/sidebar.tsx.
Where is SidebarInput() defined?
SidebarInput() is defined in apps/v4/examples/base/ui/sidebar.tsx at line 317.

Analyze Your Own Codebase

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

Try Supermodel Free