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
  ca9afca3_6d4b_337c_86c7_32f0b8beaf51["radio-group-choice-card.tsx"]
  b5f68436_cf6b_fba3_fb29_abf27fd13442["field"]
  ca9afca3_6d4b_337c_86c7_32f0b8beaf51 --> b5f68436_cf6b_fba3_fb29_abf27fd13442
  49324200_de94_25c3_5155_08b8655881b5["radio-group"]
  ca9afca3_6d4b_337c_86c7_32f0b8beaf51 --> 49324200_de94_25c3_5155_08b8655881b5
  style ca9afca3_6d4b_337c_86c7_32f0b8beaf51 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Field,
  FieldContent,
  FieldDescription,
  FieldLabel,
  FieldTitle,
} from "@/examples/radix/ui/field"
import { RadioGroup, RadioGroupItem } from "@/examples/radix/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/radix/radio-group-choice-card.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free