card-with-form.tsx — ui Source File
Architecture documentation for card-with-form.tsx, a tsx file in the ui codebase. 6 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 70207812_df3e_6a1b_034a_7a357a196933["card-with-form.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 70207812_df3e_6a1b_034a_7a357a196933 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 57e86e45_ac6e_7278_be08_9092724e8401["button"] 70207812_df3e_6a1b_034a_7a357a196933 --> 57e86e45_ac6e_7278_be08_9092724e8401 c6d6139d_ea69_3d79_5004_68419bae2ac0["card"] 70207812_df3e_6a1b_034a_7a357a196933 --> c6d6139d_ea69_3d79_5004_68419bae2ac0 80cf663d_a411_487c_d69e_ac9d405cd2ec["input"] 70207812_df3e_6a1b_034a_7a357a196933 --> 80cf663d_a411_487c_d69e_ac9d405cd2ec d752035b_6ed3_c6ef_e27c_eef51af9ec8d["label"] 70207812_df3e_6a1b_034a_7a357a196933 --> d752035b_6ed3_c6ef_e27c_eef51af9ec8d c2fa7225_1ddd_1cbc_8810_ee5e42af14d6["select"] 70207812_df3e_6a1b_034a_7a357a196933 --> c2fa7225_1ddd_1cbc_8810_ee5e42af14d6 style 70207812_df3e_6a1b_034a_7a357a196933 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import * as React from "react"
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"
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from "@/registry/new-york-v4/ui/select"
export default function CardWithForm() {
return (
<Card className="w-[350px]">
<CardHeader>
<CardTitle>Create project</CardTitle>
<CardDescription>Deploy your new project in one-click.</CardDescription>
</CardHeader>
<CardContent>
<form>
<div className="grid w-full items-center gap-6">
<div className="flex flex-col gap-3">
<Label htmlFor="name">Name</Label>
<Input id="name" placeholder="Name of your project" />
</div>
<div className="flex flex-col gap-3">
<Label htmlFor="framework">Framework</Label>
<Select>
<SelectTrigger id="framework" className="w-full">
<SelectValue placeholder="Select" />
</SelectTrigger>
<SelectContent position="popper">
<SelectItem value="next">Next.js</SelectItem>
<SelectItem value="sveltekit">SvelteKit</SelectItem>
<SelectItem value="astro">Astro</SelectItem>
<SelectItem value="nuxt">Nuxt.js</SelectItem>
</SelectContent>
</Select>
</div>
</div>
</form>
</CardContent>
<CardFooter className="flex justify-between">
<Button variant="outline">Cancel</Button>
<Button>Deploy</Button>
</CardFooter>
</Card>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- card
- input
- label
- react
- select
Source
Frequently Asked Questions
What does card-with-form.tsx do?
card-with-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 card-with-form.tsx?
card-with-form.tsx defines 1 function(s): CardWithForm.
What does card-with-form.tsx depend on?
card-with-form.tsx imports 6 module(s): button, card, input, label, react, select.
Where is card-with-form.tsx in the architecture?
card-with-form.tsx is located at apps/v4/registry/new-york-v4/examples/card-with-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free