Home / File/ radio-group-description.tsx — ui Source File

radio-group-description.tsx — ui Source File

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

File tsx DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  073f9a7d_efc4_2721_61b2_7c82731092f3["radio-group-description.tsx"]
  b5f68436_cf6b_fba3_fb29_abf27fd13442["field"]
  073f9a7d_efc4_2721_61b2_7c82731092f3 --> b5f68436_cf6b_fba3_fb29_abf27fd13442
  49324200_de94_25c3_5155_08b8655881b5["radio-group"]
  073f9a7d_efc4_2721_61b2_7c82731092f3 --> 49324200_de94_25c3_5155_08b8655881b5
  style 073f9a7d_efc4_2721_61b2_7c82731092f3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

export function RadioGroupDescription() {
  return (
    <RadioGroup defaultValue="comfortable" className="w-fit">
      <Field orientation="horizontal">
        <RadioGroupItem value="default" id="desc-r1" />
        <FieldContent>
          <FieldLabel htmlFor="desc-r1">Default</FieldLabel>
          <FieldDescription>
            Standard spacing for most use cases.
          </FieldDescription>
        </FieldContent>
      </Field>
      <Field orientation="horizontal">
        <RadioGroupItem value="comfortable" id="desc-r2" />
        <FieldContent>
          <FieldLabel htmlFor="desc-r2">Comfortable</FieldLabel>
          <FieldDescription>More space between elements.</FieldDescription>
        </FieldContent>
      </Field>
      <Field orientation="horizontal">
        <RadioGroupItem value="compact" id="desc-r3" />
        <FieldContent>
          <FieldLabel htmlFor="desc-r3">Compact</FieldLabel>
          <FieldDescription>
            Minimal spacing for dense layouts.
          </FieldDescription>
        </FieldContent>
      </Field>
    </RadioGroup>
  )
}

Subdomains

Dependencies

  • field
  • radio-group

Frequently Asked Questions

What does radio-group-description.tsx do?
radio-group-description.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in radio-group-description.tsx?
radio-group-description.tsx defines 1 function(s): RadioGroupDescription.
What does radio-group-description.tsx depend on?
radio-group-description.tsx imports 2 module(s): field, radio-group.
Where is radio-group-description.tsx in the architecture?
radio-group-description.tsx is located at apps/v4/examples/radix/radio-group-description.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, 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