cn() — supabase Function Reference
Architecture documentation for the cn() function in ui.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 6215f5f8_959b_0d27_9c02_ce5f395aab88["cn()"] b2568520_0cc4_0231_2087_5a18c8710238["BannerBlock()"] b2568520_0cc4_0231_2087_5a18c8710238 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 bdee7483_4b36_e74e_7fe4_0338dc525158["MediaBlock()"] bdee7483_4b36_e74e_7fe4_0338dc525158 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 e6b76e8c_5cf7_307d_5f93_cde04e79d2c6["YouTubeBlock()"] e6b76e8c_5cf7_307d_5f93_cde04e79d2c6 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 1dc9d047_bfff_8ce6_da05_e00e4998fd57["AdminBar()"] 1dc9d047_bfff_8ce6_da05_e00e4998fd57 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 09cc6bbd_ff8a_4068_0620_55b8a8b82fa7["Card()"] 09cc6bbd_ff8a_4068_0620_55b8a8b82fa7 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 1ef4f047_923c_be1d_9155_175c2b5b605e["CollectionArchive()"] 1ef4f047_923c_be1d_9155_175c2b5b605e -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 9de795d5_5c80_56a0_46e4_d05d99031c45["CMSLink()"] 9de795d5_5c80_56a0_46e4_d05d99031c45 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 cb9e7012_468e_2943_14d5_5e2b0d47e414["ImageMedia()"] cb9e7012_468e_2943_14d5_5e2b0d47e414 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 d1f634e7_7c68_0073_9240_140cf0511ac0["VideoMedia()"] d1f634e7_7c68_0073_9240_140cf0511ac0 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 729dbf8d_21ab_4fd1_7cde_56c3ab744730["Pagination()"] 729dbf8d_21ab_4fd1_7cde_56c3ab744730 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 6e8b404c_6f70_eb60_7b73_fb67c9b17cc6["RichText()"] 6e8b404c_6f70_eb60_7b73_fb67c9b17cc6 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 131097b4_f171_e692_ee58_527e42f1d87b["Button()"] 131097b4_f171_e692_ee58_527e42f1d87b -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 9f47d5ec_809a_7839_27ed_d3007ba5e87a["Card()"] 9f47d5ec_809a_7839_27ed_d3007ba5e87a -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 a00d9947_8af3_ade0_ab1e_9b8b73e671a1["CardHeader()"] a00d9947_8af3_ade0_ab1e_9b8b73e671a1 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 style 6215f5f8_959b_0d27_9c02_ce5f395aab88 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/cms/src/utilities/ui.ts lines 9–11
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
Domain
Subdomains
Called By
- AdminBar()
- BannerBlock()
- Button()
- CMSLink()
- Card()
- Card()
- CardContent()
- CardDescription()
- CardFooter()
- CardHeader()
- CardTitle()
- Checkbox()
- CollectionArchive()
- ImageMedia()
- Input()
- Label()
- MediaBlock()
- Pagination()
- Pagination()
- PaginationContent()
- PaginationEllipsis()
- PaginationItem()
- PaginationLink()
- PaginationNext()
- PaginationPrevious()
- RichText()
- SelectContent()
- SelectItem()
- SelectLabel()
- SelectScrollDownButton()
- SelectScrollUpButton()
- SelectSeparator()
- SelectTrigger()
- Textarea()
- VideoMedia()
- YouTubeBlock()
Source
Frequently Asked Questions
What does cn() do?
cn() is a function in the supabase codebase.
What calls cn()?
cn() is called by 36 function(s): AdminBar, BannerBlock, Button, CMSLink, Card, Card, CardContent, CardDescription, and 28 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free