sidebar-opt-in-form.tsx — ui Source File
Architecture documentation for sidebar-opt-in-form.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR dc8a94a5_b2f2_004d_a629_cf059ad4f642["sidebar-opt-in-form.tsx"] 57e86e45_ac6e_7278_be08_9092724e8401["button"] dc8a94a5_b2f2_004d_a629_cf059ad4f642 --> 57e86e45_ac6e_7278_be08_9092724e8401 c6d6139d_ea69_3d79_5004_68419bae2ac0["card"] dc8a94a5_b2f2_004d_a629_cf059ad4f642 --> c6d6139d_ea69_3d79_5004_68419bae2ac0 12632a83_ef01_5f03_4110_ed33d49893b7["sidebar"] dc8a94a5_b2f2_004d_a629_cf059ad4f642 --> 12632a83_ef01_5f03_4110_ed33d49893b7 style dc8a94a5_b2f2_004d_a629_cf059ad4f642 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Button } from "@/registry/new-york-v4/ui/button"
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/registry/new-york-v4/ui/card"
import { SidebarInput } from "@/registry/new-york-v4/ui/sidebar"
export function SidebarOptInForm() {
return (
<Card className="gap-2 py-4 shadow-none">
<CardHeader className="px-4">
<CardTitle className="text-sm">Subscribe to our newsletter</CardTitle>
<CardDescription>
Opt-in to receive updates and news about the sidebar.
</CardDescription>
</CardHeader>
<CardContent className="px-4">
<form>
<div className="grid gap-2.5">
<SidebarInput type="email" placeholder="Email" />
<Button
className="bg-sidebar-primary text-sidebar-primary-foreground w-full shadow-none"
size="sm"
>
Subscribe
</Button>
</div>
</form>
</CardContent>
</Card>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- card
- sidebar
Source
Frequently Asked Questions
What does sidebar-opt-in-form.tsx do?
sidebar-opt-in-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 sidebar-opt-in-form.tsx?
sidebar-opt-in-form.tsx defines 1 function(s): SidebarOptInForm.
What does sidebar-opt-in-form.tsx depend on?
sidebar-opt-in-form.tsx imports 3 module(s): button, card, sidebar.
Where is sidebar-opt-in-form.tsx in the architecture?
sidebar-opt-in-form.tsx is located at apps/v4/registry/new-york-v4/blocks/sidebar-06/components/sidebar-opt-in-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/blocks/sidebar-06/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free