Home / File/ sidebar-opt-in-form.tsx — ui Source File

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.

File tsx ComponentRegistry ChartRegistry 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  ea69675f_06b4_f3ac_2a02_d20c6d12077a["sidebar-opt-in-form.tsx"]
  aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"]
  ea69675f_06b4_f3ac_2a02_d20c6d12077a --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939
  95a7752f_4b97_5bde_5d7d_fca03536ac35["card"]
  ea69675f_06b4_f3ac_2a02_d20c6d12077a --> 95a7752f_4b97_5bde_5d7d_fca03536ac35
  6ff5c02b_2b25_4633_4ccd_fd28f2f55862["sidebar"]
  ea69675f_06b4_f3ac_2a02_d20c6d12077a --> 6ff5c02b_2b25_4633_4ccd_fd28f2f55862
  style ea69675f_06b4_f3ac_2a02_d20c6d12077a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/registry/new-york/ui/button"
import {
  Card,
  CardContent,
  CardDescription,
  CardHeader,
  CardTitle,
} from "@/registry/new-york/ui/card"
import { SidebarInput } from "@/registry/new-york/ui/sidebar"

export function SidebarOptInForm() {
  return (
    <Card className="shadow-none">
      <form>
        <CardHeader className="p-4 pb-0">
          <CardTitle className="text-sm">Subscribe to our newsletter</CardTitle>
          <CardDescription>
            Opt-in to receive updates and news about the sidebar.
          </CardDescription>
        </CardHeader>
        <CardContent className="grid gap-2.5 p-4">
          <SidebarInput type="email" placeholder="Email" />
          <Button
            className="w-full bg-sidebar-primary text-sidebar-primary-foreground shadow-none"
            size="sm"
          >
            Subscribe
          </Button>
        </CardContent>
      </form>
    </Card>
  )
}

Subdomains

Functions

Dependencies

  • button
  • card
  • sidebar

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 deprecated/www/registry/new-york/blocks/sidebar-06/components/sidebar-opt-in-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/blocks/sidebar-06/components).

Analyze Your Own Codebase

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

Try Supermodel Free