Home / File/ radio-group-choice-card.tsx — ui Source File

radio-group-choice-card.tsx — ui Source File

Architecture documentation for radio-group-choice-card.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  e92ac2c2_6efa_80a9_c136_087132047d58["radio-group-choice-card.tsx"]
  e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"]
  e92ac2c2_6efa_80a9_c136_087132047d58 --> e6c524b5_d047_d4f9_50b2_7f100d612cb2
  654cf81d_2869_1e7e_dc6d_1a0b30a54a2a["radio-group"]
  e92ac2c2_6efa_80a9_c136_087132047d58 --> 654cf81d_2869_1e7e_dc6d_1a0b30a54a2a
  style e92ac2c2_6efa_80a9_c136_087132047d58 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Field,
  FieldContent,
  FieldDescription,
  FieldLabel,
  FieldTitle,
} from "@/examples/base/ui/field"
import { RadioGroup, RadioGroupItem } from "@/examples/base/ui/radio-group"

export function RadioGroupChoiceCard() {
  return (
    <RadioGroup defaultValue="plus" className="max-w-sm">
      <FieldLabel htmlFor="plus-plan">
        <Field orientation="horizontal">
          <FieldContent>
            <FieldTitle>Plus</FieldTitle>
            <FieldDescription>
              For individuals and small teams.
            </FieldDescription>
          </FieldContent>
          <RadioGroupItem value="plus" id="plus-plan" />
        </Field>
      </FieldLabel>
      <FieldLabel htmlFor="pro-plan">
        <Field orientation="horizontal">
          <FieldContent>
            <FieldTitle>Pro</FieldTitle>
            <FieldDescription>For growing businesses.</FieldDescription>
          </FieldContent>
          <RadioGroupItem value="pro" id="pro-plan" />
        </Field>
      </FieldLabel>
      <FieldLabel htmlFor="enterprise-plan">
        <Field orientation="horizontal">
          <FieldContent>
            <FieldTitle>Enterprise</FieldTitle>
            <FieldDescription>
              For large teams and enterprises.
            </FieldDescription>
          </FieldContent>
          <RadioGroupItem value="enterprise" id="enterprise-plan" />
        </Field>
      </FieldLabel>
    </RadioGroup>
  )
}

Subdomains

Dependencies

  • field
  • radio-group

Frequently Asked Questions

What does radio-group-choice-card.tsx do?
radio-group-choice-card.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 radio-group-choice-card.tsx?
radio-group-choice-card.tsx defines 1 function(s): RadioGroupChoiceCard.
What does radio-group-choice-card.tsx depend on?
radio-group-choice-card.tsx imports 2 module(s): field, radio-group.
Where is radio-group-choice-card.tsx in the architecture?
radio-group-choice-card.tsx is located at apps/v4/examples/base/radio-group-choice-card.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, 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