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

radio-group-fieldset.tsx — ui Source File

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

File tsx DocumentationAtlas Changelog 2 imports 1 functions

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

export function RadioGroupFieldset() {
  return (
    <FieldSet className="w-full max-w-xs">
      <FieldLegend variant="label">Subscription Plan</FieldLegend>
      <FieldDescription>
        Yearly and lifetime plans offer significant savings.
      </FieldDescription>
      <RadioGroup defaultValue="monthly">
        <Field orientation="horizontal">
          <RadioGroupItem value="monthly" id="plan-monthly" />
          <FieldLabel htmlFor="plan-monthly" className="font-normal">
            Monthly ($9.99/month)
          </FieldLabel>
        </Field>
        <Field orientation="horizontal">
          <RadioGroupItem value="yearly" id="plan-yearly" />
          <FieldLabel htmlFor="plan-yearly" className="font-normal">
            Yearly ($99.99/year)
          </FieldLabel>
        </Field>
        <Field orientation="horizontal">
          <RadioGroupItem value="lifetime" id="plan-lifetime" />
          <FieldLabel htmlFor="plan-lifetime" className="font-normal">
            Lifetime ($299.99)
          </FieldLabel>
        </Field>
      </RadioGroup>
    </FieldSet>
  )
}

Subdomains

Dependencies

  • field
  • radio-group

Frequently Asked Questions

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