field-choice-card.tsx — ui Source File
Architecture documentation for field-choice-card.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR d729d51f_553c_e73c_9a68_cfc8a53d31f7["field-choice-card.tsx"] e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"] d729d51f_553c_e73c_9a68_cfc8a53d31f7 --> e6c524b5_d047_d4f9_50b2_7f100d612cb2 654cf81d_2869_1e7e_dc6d_1a0b30a54a2a["radio-group"] d729d51f_553c_e73c_9a68_cfc8a53d31f7 --> 654cf81d_2869_1e7e_dc6d_1a0b30a54a2a style d729d51f_553c_e73c_9a68_cfc8a53d31f7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
Field,
FieldContent,
FieldDescription,
FieldGroup,
FieldLabel,
FieldLegend,
FieldSet,
FieldTitle,
} from "@/examples/base/ui/field"
import { RadioGroup, RadioGroupItem } from "@/examples/base/ui/radio-group"
export default function FieldChoiceCard() {
return (
<FieldGroup className="w-full max-w-xs">
<FieldSet>
<FieldLegend variant="label">Compute Environment</FieldLegend>
<FieldDescription>
Select the compute environment for your cluster.
</FieldDescription>
<RadioGroup defaultValue="kubernetes">
<FieldLabel htmlFor="kubernetes-r2h">
<Field orientation="horizontal">
<FieldContent>
<FieldTitle>Kubernetes</FieldTitle>
<FieldDescription>
Run GPU workloads on a K8s cluster.
</FieldDescription>
</FieldContent>
<RadioGroupItem value="kubernetes" id="kubernetes-r2h" />
</Field>
</FieldLabel>
<FieldLabel htmlFor="vm-z4k">
<Field orientation="horizontal">
<FieldContent>
<FieldTitle>Virtual Machine</FieldTitle>
<FieldDescription>
Access a cluster to run GPU workloads.
</FieldDescription>
</FieldContent>
<RadioGroupItem value="vm" id="vm-z4k" />
</Field>
</FieldLabel>
</RadioGroup>
</FieldSet>
</FieldGroup>
)
}
Domain
Subdomains
Functions
Dependencies
- field
- radio-group
Source
Frequently Asked Questions
What does field-choice-card.tsx do?
field-choice-card.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in field-choice-card.tsx?
field-choice-card.tsx defines 1 function(s): FieldChoiceCard.
What does field-choice-card.tsx depend on?
field-choice-card.tsx imports 2 module(s): field, radio-group.
Where is field-choice-card.tsx in the architecture?
field-choice-card.tsx is located at apps/v4/examples/base/field-choice-card.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/base).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free