RadioGroupRtl() — ui Function Reference
Architecture documentation for the RadioGroupRtl() function in radio-group-rtl.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD f627f723_1c67_c05e_6ea7_0870430ab994["RadioGroupRtl()"] f7c0fffc_afca_8641_4d64_f9bac769f4fb["radio-group-rtl.tsx"] f627f723_1c67_c05e_6ea7_0870430ab994 -->|defined in| f7c0fffc_afca_8641_4d64_f9bac769f4fb style f627f723_1c67_c05e_6ea7_0870430ab994 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/radio-group-rtl.tsx lines 53–89
export function RadioGroupRtl() {
const { dir, t } = useTranslation(translations, "ar")
return (
<RadioGroup defaultValue="comfortable" className="w-fit" dir={dir}>
<Field orientation="horizontal">
<RadioGroupItem value="default" id="r1-rtl" dir={dir} />
<FieldContent>
<FieldLabel htmlFor="r1-rtl" dir={dir}>
{t.default}
</FieldLabel>
<FieldDescription dir={dir}>{t.defaultDescription}</FieldDescription>
</FieldContent>
</Field>
<Field orientation="horizontal">
<RadioGroupItem value="comfortable" id="r2-rtl" dir={dir} />
<FieldContent>
<FieldLabel htmlFor="r2-rtl" dir={dir}>
{t.comfortable}
</FieldLabel>
<FieldDescription dir={dir}>
{t.comfortableDescription}
</FieldDescription>
</FieldContent>
</Field>
<Field orientation="horizontal">
<RadioGroupItem value="compact" id="r3-rtl" dir={dir} />
<FieldContent>
<FieldLabel htmlFor="r3-rtl" dir={dir}>
{t.compact}
</FieldLabel>
<FieldDescription dir={dir}>{t.compactDescription}</FieldDescription>
</FieldContent>
</Field>
</RadioGroup>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does RadioGroupRtl() do?
RadioGroupRtl() is a function in the ui codebase, defined in apps/v4/examples/base/radio-group-rtl.tsx.
Where is RadioGroupRtl() defined?
RadioGroupRtl() is defined in apps/v4/examples/base/radio-group-rtl.tsx at line 53.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free