separator-rtl.tsx — ui Source File
Architecture documentation for separator-rtl.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 8ef9eb63_dce3_172e_b98f_17305f1f5847["separator-rtl.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 8ef9eb63_dce3_172e_b98f_17305f1f5847 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 d91f2d92_028d_f8a9_3acf_7be6f2a34921["separator"] 8ef9eb63_dce3_172e_b98f_17305f1f5847 --> d91f2d92_028d_f8a9_3acf_7be6f2a34921 2c1404ab_bf28_6225_f9a0_b9e29400c66c["language-selector"] 8ef9eb63_dce3_172e_b98f_17305f1f5847 --> 2c1404ab_bf28_6225_f9a0_b9e29400c66c style 8ef9eb63_dce3_172e_b98f_17305f1f5847 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Separator } from "@/examples/base/ui-rtl/separator"
import {
useTranslation,
type Translations,
} from "@/components/language-selector"
const translations: Translations = {
en: {
dir: "ltr",
values: {
title: "shadcn/ui",
subtitle: "The Foundation for your Design System",
description:
"A set of beautifully designed components that you can customize, extend, and build on.",
},
},
ar: {
dir: "rtl",
values: {
title: "shadcn/ui",
subtitle: "الأساس لنظام التصميم الخاص بك",
description:
"مجموعة من المكونات المصممة بشكل جميل يمكنك تخصيصها وتوسيعها والبناء عليها.",
},
},
he: {
dir: "rtl",
values: {
title: "shadcn/ui",
subtitle: "הבסיס למערכת העיצוב שלך",
description:
"סט של רכיבים מעוצבים בצורה יפה שאתה יכול להתאים אישית, להרחיב ולבנות עליהם.",
},
},
}
export function SeparatorRtl() {
const { dir, t } = useTranslation(translations, "ar")
return (
<div className="flex max-w-sm flex-col gap-4 text-sm" dir={dir}>
<div className="flex flex-col gap-1.5">
<div className="leading-none font-medium">{t.title}</div>
<div className="text-muted-foreground">{t.subtitle}</div>
</div>
<Separator />
<div>{t.description}</div>
</div>
)
}
Domain
Subdomains
Functions
Dependencies
- language-selector
- react
- separator
Source
Frequently Asked Questions
What does separator-rtl.tsx do?
separator-rtl.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 separator-rtl.tsx?
separator-rtl.tsx defines 1 function(s): SeparatorRtl.
What does separator-rtl.tsx depend on?
separator-rtl.tsx imports 3 module(s): language-selector, react, separator.
Where is separator-rtl.tsx in the architecture?
separator-rtl.tsx is located at apps/v4/examples/base/separator-rtl.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