Home / File/ card-demo.tsx — ui Source File

card-demo.tsx — ui Source File

Architecture documentation for card-demo.tsx, a tsx file in the ui codebase. 8 imports, 1 dependents.

File tsx DocumentationAtlas SearchAPI 8 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  335e0586_bc57_294f_1d36_17e66a15c329["card-demo.tsx"]
  3eb36dd7_f51a_1431_02e2_7abafe315718["image"]
  335e0586_bc57_294f_1d36_17e66a15c329 --> 3eb36dd7_f51a_1431_02e2_7abafe315718
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  335e0586_bc57_294f_1d36_17e66a15c329 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  550576ca_32fe_8288_72d6_10281189833b["avatar"]
  335e0586_bc57_294f_1d36_17e66a15c329 --> 550576ca_32fe_8288_72d6_10281189833b
  4c79c55d_d834_3cdd_ce17_cc4f4eb47d55["badge"]
  335e0586_bc57_294f_1d36_17e66a15c329 --> 4c79c55d_d834_3cdd_ce17_cc4f4eb47d55
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  335e0586_bc57_294f_1d36_17e66a15c329 --> 57e86e45_ac6e_7278_be08_9092724e8401
  c6d6139d_ea69_3d79_5004_68419bae2ac0["card"]
  335e0586_bc57_294f_1d36_17e66a15c329 --> c6d6139d_ea69_3d79_5004_68419bae2ac0
  80cf663d_a411_487c_d69e_ac9d405cd2ec["input"]
  335e0586_bc57_294f_1d36_17e66a15c329 --> 80cf663d_a411_487c_d69e_ac9d405cd2ec
  d752035b_6ed3_c6ef_e27c_eef51af9ec8d["label"]
  335e0586_bc57_294f_1d36_17e66a15c329 --> d752035b_6ed3_c6ef_e27c_eef51af9ec8d
  1c2403dc_4584_9f39_4e98_855a7de18bd1["component-registry.ts"]
  1c2403dc_4584_9f39_4e98_855a7de18bd1 --> 335e0586_bc57_294f_1d36_17e66a15c329
  style 335e0586_bc57_294f_1d36_17e66a15c329 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import Image from "next/image"
import { BathIcon, BedIcon, LandPlotIcon } from "lucide-react"

import {
  Avatar,
  AvatarFallback,
  AvatarImage,
} from "@/registry/new-york-v4/ui/avatar"
import { Badge } from "@/registry/new-york-v4/ui/badge"
import { Button } from "@/registry/new-york-v4/ui/button"
import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/registry/new-york-v4/ui/card"
import { Input } from "@/registry/new-york-v4/ui/input"
import { Label } from "@/registry/new-york-v4/ui/label"

export function CardDemo() {
  return (
    <div className="flex flex-col items-start gap-4">
      <Card className="w-full max-w-sm">
        <CardHeader>
          <CardTitle>Login to your account</CardTitle>
          <CardDescription>
            Enter your email below to login to your account
          </CardDescription>
        </CardHeader>
        <CardContent>
          <form>
            <div className="flex flex-col gap-6">
              <div className="grid gap-2">
                <Label htmlFor="email">Email</Label>
                <Input
                  id="email"
                  type="email"
                  placeholder="m@example.com"
                  required
                />
              </div>
              <div className="grid gap-2">
                <div className="flex items-center">
                  <Label htmlFor="password">Password</Label>
                  <a
                    href="#"
                    className="ml-auto inline-block text-sm underline-offset-4 hover:underline"
                  >
                    Forgot your password?
                  </a>
                </div>
                <Input id="password" type="password" required />
              </div>
            </div>
          </form>
        </CardContent>
        <CardFooter className="flex-col gap-2">
          <Button type="submit" className="w-full">
// ... (150 more lines)

Subdomains

Functions

Dependencies

  • avatar
  • badge
  • button
  • card
  • image
  • input
  • label
  • lucide-react

Frequently Asked Questions

What does card-demo.tsx do?
card-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in card-demo.tsx?
card-demo.tsx defines 1 function(s): CardDemo.
What does card-demo.tsx depend on?
card-demo.tsx imports 8 module(s): avatar, badge, button, card, image, input, label, lucide-react.
What files import card-demo.tsx?
card-demo.tsx is imported by 1 file(s): component-registry.ts.
Where is card-demo.tsx in the architecture?
card-demo.tsx is located at apps/v4/app/(internal)/sink/components/card-demo.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/app/(internal)/sink/components).

Analyze Your Own Codebase

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

Try Supermodel Free