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 UIPrimitives 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  dcb6e324_1cbf_ed9e_85ff_293a6bdef9b6["sidebar-opt-in-form.tsx"]
  7328fa0a_98b6_fe77_42fd_0d1582b24604["button"]
  dcb6e324_1cbf_ed9e_85ff_293a6bdef9b6 --> 7328fa0a_98b6_fe77_42fd_0d1582b24604
  deffd1e6_798d_b7fd_c687_7ccabc947893["card"]
  dcb6e324_1cbf_ed9e_85ff_293a6bdef9b6 --> deffd1e6_798d_b7fd_c687_7ccabc947893
  f1a5091e_9f4f_a457_6394_4e05eb42bbf1["sidebar"]
  dcb6e324_1cbf_ed9e_85ff_293a6bdef9b6 --> f1a5091e_9f4f_a457_6394_4e05eb42bbf1
  style dcb6e324_1cbf_ed9e_85ff_293a6bdef9b6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/registry/bases/base/ui/button"
import {
  Card,
  CardContent,
  CardDescription,
  CardHeader,
  CardTitle,
} from "@/registry/bases/base/ui/card"
import { SidebarInput } from "@/registry/bases/base/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">
              Subscribe
            </Button>
          </div>
        </form>
      </CardContent>
    </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, UIPrimitives 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/bases/base/blocks/sidebar-06/components/sidebar-opt-in-form.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/blocks/sidebar-06/components).

Analyze Your Own Codebase

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

Try Supermodel Free