CardWithForm() — ui Function Reference
Architecture documentation for the CardWithForm() function in card-with-form.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b59e26f7_2bb0_caa1_5be1_789f1039862e["CardWithForm()"] 16003b8e_ae72_55d3_1d37_6905d219883b["card-with-form.tsx"] b59e26f7_2bb0_caa1_5be1_789f1039862e -->|defined in| 16003b8e_ae72_55d3_1d37_6905d219883b style b59e26f7_2bb0_caa1_5be1_789f1039862e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/default/examples/card-with-form.tsx lines 22–59
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-4">
<div className="flex flex-col space-y-1.5">
<Label htmlFor="name">Name</Label>
<Input id="name" placeholder="Name of your project" />
</div>
<div className="flex flex-col space-y-1.5">
<Label htmlFor="framework">Framework</Label>
<Select>
<SelectTrigger id="framework">
<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
Source
Frequently Asked Questions
What does CardWithForm() do?
CardWithForm() is a function in the ui codebase, defined in deprecated/www/registry/default/examples/card-with-form.tsx.
Where is CardWithForm() defined?
CardWithForm() is defined in deprecated/www/registry/default/examples/card-with-form.tsx at line 22.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free