component-preview.tsx — ui Source File
Architecture documentation for component-preview.tsx, a tsx file in the ui codebase. 1 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 68708053_7b46_bfc9_eaf8_5335614bc08c["component-preview.tsx"] 79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"] 68708053_7b46_bfc9_eaf8_5335614bc08c --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81 56e49ac2_e6e7_ad0b_a9c0_eda10335ae82["page.tsx"] 56e49ac2_e6e7_ad0b_a9c0_eda10335ae82 --> 68708053_7b46_bfc9_eaf8_5335614bc08c style 68708053_7b46_bfc9_eaf8_5335614bc08c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { cn } from "@/lib/utils"
export function ComponentPreview({ children }: { children: React.ReactNode }) {
return (
<div
className={cn(
"bg-background *:data-[slot=card]:has-[[data-slot=chart]]:shadow-none"
)}
>
{children}
</div>
)
}
Domain
Subdomains
Functions
Dependencies
- utils
Imported By
Source
Frequently Asked Questions
What does component-preview.tsx do?
component-preview.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in component-preview.tsx?
component-preview.tsx defines 1 function(s): ComponentPreview.
What does component-preview.tsx depend on?
component-preview.tsx imports 1 module(s): utils.
What files import component-preview.tsx?
component-preview.tsx is imported by 1 file(s): page.tsx.
Where is component-preview.tsx in the architecture?
component-preview.tsx is located at apps/v4/app/(view)/view/[style]/[name]/component-preview.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/app/(view)/view/[style]/[name]).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free