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
  0d7aea60_e20e_dfb5_a2fa_10c4bc8cafbb["radio-group-description.tsx"]
  e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"]
  0d7aea60_e20e_dfb5_a2fa_10c4bc8cafbb --> e6c524b5_d047_d4f9_50b2_7f100d612cb2
  654cf81d_2869_1e7e_dc6d_1a0b30a54a2a["radio-group"]
  0d7aea60_e20e_dfb5_a2fa_10c4bc8cafbb --> 654cf81d_2869_1e7e_dc6d_1a0b30a54a2a
  style 0d7aea60_e20e_dfb5_a2fa_10c4bc8cafbb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Field,
  FieldContent,
  FieldDescription,
  FieldLabel,
} from "@/examples/base/ui/field"
import { RadioGroup, RadioGroupItem } from "@/examples/base/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/base/radio-group-description.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, 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