section-cards.tsx — ui Source File
Architecture documentation for section-cards.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 11220455_252e_1d57_5192_1f680bd88bf1["section-cards.tsx"] bf2d636f_6015_e4c1_8092_f8992858a1ae["badge"] 11220455_252e_1d57_5192_1f680bd88bf1 --> bf2d636f_6015_e4c1_8092_f8992858a1ae deffd1e6_798d_b7fd_c687_7ccabc947893["card"] 11220455_252e_1d57_5192_1f680bd88bf1 --> deffd1e6_798d_b7fd_c687_7ccabc947893 de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"] 11220455_252e_1d57_5192_1f680bd88bf1 --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2 style 11220455_252e_1d57_5192_1f680bd88bf1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import { Badge } from "@/registry/bases/base/ui/badge"
import {
Card,
CardAction,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/registry/bases/base/ui/card"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
export function SectionCards() {
return (
<div className="*:data-[slot=card]:from-primary/5 *:data-[slot=card]:to-card dark:*:data-[slot=card]:bg-card grid grid-cols-1 gap-4 px-4 *:data-[slot=card]:bg-linear-to-t *:data-[slot=card]:shadow-xs lg:px-6 @xl/main:grid-cols-2 @5xl/main:grid-cols-4">
<Card className="@container/card">
<CardHeader>
<CardDescription>Total Revenue</CardDescription>
<CardTitle className="text-2xl font-semibold tabular-nums @[250px]/card:text-3xl">
$1,250.00
</CardTitle>
<CardAction>
<Badge variant="outline">
<IconPlaceholder
lucide="TrendingUpIcon"
tabler="IconTrendingUp"
hugeicons="ChartUpIcon"
phosphor="TrendUpIcon"
remixicon="RiArrowUpLine"
/>
+12.5%
</Badge>
</CardAction>
</CardHeader>
<CardFooter className="flex-col items-start gap-1.5 text-sm">
<div className="line-clamp-1 flex gap-2 font-medium">
Trending up this month{" "}
<IconPlaceholder
lucide="TrendingUpIcon"
tabler="IconTrendingUp"
hugeicons="ChartUpIcon"
phosphor="TrendUpIcon"
remixicon="RiArrowUpLine"
className="size-4"
/>
</div>
<div className="text-muted-foreground">
Visitors for the last 6 months
</div>
</CardFooter>
</Card>
<Card className="@container/card">
<CardHeader>
<CardDescription>New Customers</CardDescription>
<CardTitle className="text-2xl font-semibold tabular-nums @[250px]/card:text-3xl">
1,234
</CardTitle>
<CardAction>
<Badge variant="outline">
// ... (100 more lines)
Domain
Subdomains
Functions
Dependencies
- badge
- card
- icon-placeholder
Source
Frequently Asked Questions
What does section-cards.tsx do?
section-cards.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, UIPrimitives subdomain.
What functions are defined in section-cards.tsx?
section-cards.tsx defines 1 function(s): SectionCards.
What does section-cards.tsx depend on?
section-cards.tsx imports 3 module(s): badge, card, icon-placeholder.
Where is section-cards.tsx in the architecture?
section-cards.tsx is located at apps/v4/registry/bases/base/blocks/dashboard-01/components/section-cards.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/blocks/dashboard-01/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free