About
Production-ready admin dashboard cards suite featuring interactive KPI stat cards, net revenue area comparison chart, sales category donut breakdown, top product rankings, customer growth sparkline, inventory alerts, recent transactions table, and live activity timeline.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Admin Dashboard Cards to your project and fits it to your theme.
Code
How Admin Dashboard Cards is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import * as React from "react"
import {
AdminDashboardCards,
CustomerGrowthCard,
InventoryAlertsCard,
RecentActivityCard,
RecentOrdersCard,
RevenueOverviewCard,
SalesByCategoryCard,
StatCard,
TopSellingProductsCard,
formatCurrency,
type ActivityItem,
type CategoryShare,
type InventoryAlertItem,
type OrderItem,
type ProductRankingItem,
type RevenuePoint,
type StatCardProps,
} from "@/components/ui/admin-dashboard-cards"
import {
Activity,
BarChart3,
Calendar,
Check,
DollarSign,
Download,
Layers,
LayoutDashboard,
Package,
Receipt,
RefreshCw,
Search,
ShoppingBag,
ShoppingCart,
TrendingUp,
Users,
} from "lucide-react"
/* -------------------------------------------------------------------------- */
/* Realistic Data */
/* -------------------------------------------------------------------------- */
type TimeRange = "7M" | "90D" | "30D"
type CurrencyCode = "USD" | "EUR" | "GBP"
const CURRENCY_SYMBOLS: Record<CurrencyCode, string> = {
USD: "$",
EUR: "€",
GBP: "£",
}
const CURRENCY_RATES: Record<CurrencyCode, number> = {
USD: 1.0,
EUR: 0.92,
GBP: 0.79,
}
// Multi-range revenue data
const REVENUE_DATA_BY_RANGE: Record<TimeRange, RevenuePoint[]> = {
"7M": [
{ label: "Nov", value: 43000, previous: 39000 },
{ label: "Dec", value: 51000, previous: 45000 },
{ label: "Jan", value: 48000, previous: 47000 },
{ label: "Feb", value: 58000, previous: 50000 },
{ label: "Mar", value: 63000, previous: 53000 },
{ label: "Apr", value: 69000, previous: 58000 },
{ label: "May", value: 79330, previous: 62500 },
],
"90D": [
{ label: "Mar 01", value: 29500, previous: 25000 },
{ label: "Mar 15", value: 33500, previous: 28000 },
{ label: "Apr 01", value: 34200, previous: 29100 },
{ label: "Apr 15", value: 34800, previous: 31000 },
{ label: "May 01", value: 38200, previous: 30500 },
{ label: "May 15", value: 41130, previous: 32000 },
],
"30D": [
{ label: "May 01", value: 8900, previous: 7200 },
{ label: "May 08", value: 9800, previous: 8100 },
{ label: "May 15", value: 11400, previous: 9300 },
{ label: "May 22", value: 13200, previous: 10400 },
{ label: "May 29", value: 16030, previous: 11500 },
],
}
// Category breakdown using shadcn theme variables (zero hardcoded hexes)
const BASE_CATEGORIES: CategoryShare[] = [
{ label: "Subscription", value: 28500, color: "var(--color-chart-1)" },
{ label: "Add-ons", value: 8050, color: "var(--color-chart-2)" },
{ label: "Templates", value: 4320, color: "var(--color-chart-3)" },
{ label: "Merchandise", value: 1370, color: "var(--color-chart-4)" },
{ label: "Resources", value: 556, color: "var(--color-chart-5)" },
]
const topProducts: ProductRankingItem[] = [
{
id: "p1",
name: "Rivera Team Plan",
category: "Subscription",
sku: "RV-PLN-TEAM",
sales: 980,
rating: 4.9,
},
{
id: "p2",
name: "Rivera Pro Plan",
category: "Subscription",
sku: "RV-PLN-PRO",
sales: 412,
rating: 4.8,
},
{
id: "p3",
name: "AI Insights Add-on",
category: "Add-on",
sku: "RV-ADD-AI",
sales: 305,
rating: 4.7,
},
{
id: "p4",
name: "Rivera Minimalist Mug",
category: "Merch",
sku: "RV-MER-MUG",
sales: 210,
rating: 4.5,
},
{
id: "p5",
name: "Rivera Signature Tee",
category: "Merch",
sku: "RV-MER-TEE",
sales: 185,
rating: 4.4,
},
{
id: "p6",
name: "CRM Dashboard UI Kit",
category: "Templates",
sku: "RV-TMP-CRM",
sales: 140,
rating: 5.0,
},
]
const customerGrowthData = {
total: 2340,
monthlyNew: 242,
points: [
{ label: "Nov", value: 1240 },
{ label: "Dec", value: 1410 },
{ label: "Jan", value: 1538 },
{ label: "Feb", value: 1702 },
{ label: "Mar", value: 1894 },
{ label: "Apr", value: 2098 },
{ label: "May", value: 2340 },
],
}
const inventoryAlerts: InventoryAlertItem[] = [
{
id: "inv1",
name: "Rivera Minimalist Mug",
sku: "RV-MER-MUG",
stock: 0,
status: "out_of_stock",
},
{
id: "inv2",
name: "Rivera Signature Tee",
sku: "RV-MER-TEE",
stock: 24,
status: "low_stock",
},
{
id: "inv3",
name: "Editorial CMS UI Bundle",
sku: "RV-TMP-CMS",
stock: 65,
status: "low_stock",
},
]
const ordersList: OrderItem[] = [
{
id: "o1",
reference: "RV-10241",
customer: "Atlas Coffee Co.",
items: 4,
amount: 1280.0,
currency: "USD",
status: "paid",
when: "10 mins ago",
},
{
id: "o2",
reference: "RV-10242",
customer: "Harbor Logistics",
items: 2,
amount: 5400.0,
currency: "USD",
status: "pending",
when: "35 mins ago",
},
{
id: "o3",
reference: "RV-10243",
customer: "Coral Studio",
items: 1,
amount: 320.0,
currency: "EUR",
status: "paid",
when: "2 hours ago",
},
{
id: "o4",
reference: "RV-10244",
customer: "Northwind Supply",
items: 6,
amount: 8900.0,
currency: "USD",
status: "refunded",
when: "5 hours ago",
},
{
id: "o5",
reference: "RV-10245",
customer: "Sage Publications",
items: 3,
amount: 1500.0,
currency: "GBP",
status: "paid",
when: "Yesterday",
},
{
id: "o6",
reference: "RV-10246",
customer: "Beacon Labs",
items: 5,
amount: 3250.0,
currency: "USD",
status: "shipped",
when: "2 days ago",
},
]
const activitiesList: ActivityItem[] = [
{
id: "a1",
actor: "Elena Rostova",
action: "updated",
summary: "Updated tax settings for EU VAT compliance",
when: "12 MINUTES AGO",
},
{
id: "a2",
actor: "Marcus Vance",
action: "order",
summary: "Placed bulk team license order #RV-10246",
when: "45 MINUTES AGO",
},
{
id: "a3",
actor: "System Sentinel",
action: "alert",
summary: "Stock reached zero for Rivera Minimalist Mug",
when: "1 HOUR AGO",
},
{
id: "a4",
actor: "Sarah Jenkins",
action: "created",
summary: "Created coupon code SUMMER-DEV for 20% off",
when: "3 HOURS AGO",
},
{
id: "a5",
actor: "Admin Auth",
action: "logged_in",
summary: "Two-factor verified sign-in from Zurich, CH",
when: "5 HOURS AGO",
},
]
/* -------------------------------------------------------------------------- */
/* Demo Component */
/* -------------------------------------------------------------------------- */
export default function AdminDashboardCardsDemo() {
const [activeTab, setActiveTab] = React.useState<
"overview" | "kpis" | "analytics" | "orders"
>("overview")
const [timeRange, setTimeRange] = React.useState<TimeRange>("7M")
const [currency, setCurrency] = React.useState<CurrencyCode>("USD")
const [loading, setLoading] = React.useState<boolean>(false)
const [compactStats, setCompactStats] = React.useState<boolean>(false)
const [notification, setNotification] = React.useState<string | null>(null)
// Orders filter & search state for the Orders tab
const [orderStatusFilter, setOrderStatusFilter] = React.useState<string>("all")
const [orderSearchQuery, setOrderSearchQuery] = React.useState<string>("")
// Notification helper
const showNotification = (msg: string) => {
setNotification(msg)
const timer = setTimeout(() => setNotification(null), 3000)
return () => clearTimeout(timer)
}
// Currency multiplier
const rate = CURRENCY_RATES[currency]
// Scaled revenue data for current range and currency
const scaledRevenueData = React.useMemo(() => {
const raw = REVENUE_DATA_BY_RANGE[timeRange]
return raw.map((pt) => ({
...pt,
value: Math.round(pt.value * rate),
previous: pt.previous !== undefined ? Math.round(pt.previous * rate) : undefined,
}))
}, [timeRange, rate])
// Scaled category shares
const scaledCategories = React.useMemo(() => {
return BASE_CATEGORIES.map((c) => ({
...c,
value: Math.round(c.value * rate),
}))
}, [rate])
// Scaled total revenue sum
const totalRevenueSum = React.useMemo(() => {
return scaledRevenueData.reduce((acc, cur) => acc + cur.value, 0)
}, [scaledRevenueData])
// Dynamic KPI Stats
const stats: StatCardProps[] = [
{
label: "Total Revenue",
value: formatCurrency(totalRevenueSum, currency, { compact: true }),
delta: 14.8,
hint: `vs. previous ${timeRange}`,
icon: DollarSign,
accent: "chart-1",
compact: compactStats,
onClick: () => showNotification(`Clicked Total Revenue (${formatCurrency(totalRevenueSum, currency)})`),
},
{
label: "Total Orders",
value: "1,482",
delta: 6.4,
hint: "completed transactions",
icon: ShoppingCart,
accent: "chart-2",
compact: compactStats,
onClick: () => showNotification("Clicked Total Orders (1,482 transactions)"),
},
{
label: "Avg. Order Value",
value: formatCurrency(284.5 * rate, currency),
delta: -1.2,
hint: "per customer checkout",
icon: Receipt,
accent: "chart-3",
compact: compactStats,
onClick: () => showNotification(`Clicked Avg. Order Value (${formatCurrency(284.5 * rate, currency)})`),
},
{
label: "Conversion Rate",
value: "3.42%",
delta: 0.9,
hint: "visit to purchase ratio",
icon: ShoppingBag,
accent: "chart-4",
compact: compactStats,
onClick: () => showNotification("Clicked Conversion Rate (3.42%)"),
},
]
// Filtered orders for the Orders tab
const filteredOrders = React.useMemo(() => {
return ordersList.filter((ord) => {
const matchesStatus =
orderStatusFilter === "all" || ord.status === orderStatusFilter
const matchesSearch =
orderSearchQuery === "" ||
ord.reference.toLowerCase().includes(orderSearchQuery.toLowerCase()) ||
ord.customer.toLowerCase().includes(orderSearchQuery.toLowerCase())
return matchesStatus && matchesSearch
})
}, [orderStatusFilter, orderSearchQuery])
return (
<div className="w-full max-w-7xl mx-auto p-4 sm:p-6 lg:p-8 space-y-6">
{/* Toast Announcement Notification */}
{notification && (
<div
role="status"
aria-live="polite"
className="fixed bottom-6 right-6 z-50 flex items-center gap-2 rounded-xl border border-border bg-card/95 px-4 py-3 text-sm font-medium text-card-foreground shadow-2xl backdrop-blur-md transition-all duration-300 animate-in fade-in slide-in-from-bottom-3"
>
<span className="flex h-2 w-2 rounded-full bg-[var(--color-chart-2)]" />
<span>{notification}</span>
</div>
)}
{/* Dashboard Top Header Bar */}
<div className="flex flex-col gap-4 pb-4 border-b border-border/70">
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3">
<div>
<div className="flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-muted-foreground">
<span>Storefront Console</span>
<span>/</span>
<span className="text-foreground">eCommerce Dashboard</span>
</div>
<h1 className="text-2xl sm:text-3xl font-bold tracking-tight text-foreground mt-1">
Storefront Analytics & Operations
</h1>
<p className="text-xs sm:text-sm text-muted-foreground mt-0.5">
Modular admin dashboard cards suite powered by pure shadcn design tokens.
</p>
</div>
{/* Quick global controls */}
<div className="flex flex-wrap items-center gap-2">
{/* Currency Selector */}
<div className="h-8 flex items-center p-0.5 rounded-lg border border-border/80 bg-card shadow-xs text-[13px] font-medium">
{(["USD", "EUR", "GBP"] as CurrencyCode[]).map((c) => (
<button
key={c}
type="button"
onClick={() => {
setCurrency(c)
showNotification(`Currency changed to ${c} (${CURRENCY_SYMBOLS[c]})`)
}}
className={`h-full px-2.5 rounded-md text-[13px] font-medium flex items-center justify-center transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${
currency === c
? "bg-primary text-primary-foreground font-semibold shadow-xs"
: "text-muted-foreground hover:text-foreground"
}`}
>
{CURRENCY_SYMBOLS[c]} {c}
</button>
))}
</div>
{/* Time Range Selector */}
<div className="h-8 flex items-center p-0.5 rounded-lg border border-border/80 bg-card shadow-xs text-[13px] font-medium">
{(["7M", "90D", "30D"] as TimeRange[]).map((r) => (
<button
key={r}
type="button"
onClick={() => {
setTimeRange(r)
showNotification(`Time range updated to ${r}`)
}}
className={`h-full px-2.5 rounded-md text-[13px] font-medium flex items-center justify-center transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${
timeRange === r
? "bg-primary text-primary-foreground font-semibold shadow-xs"
: "text-muted-foreground hover:text-foreground"
}`}
>
{r}
</button>
))}
</div>
{/* Loading Toggle Button */}
<button
type="button"
onClick={() => {
setLoading((prev) => !prev)
showNotification(!loading ? "Skeleton loading state enabled" : "Loaded active data")
}}
title="Toggle skeleton loading state"
className={`h-8 px-3 rounded-lg border border-border/80 text-[13px] font-medium flex items-center gap-1.5 shadow-xs transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${
loading
? "bg-primary/10 text-primary border-primary/30"
: "bg-card text-foreground hover:bg-muted"
}`}
>
<RefreshCw className={`h-3.5 w-3.5 ${loading ? "animate-spin text-primary" : "text-muted-foreground"}`} aria-hidden="true" />
<span>{loading ? "Loading..." : "Simulate Loading"}</span>
</button>
{/* Export Report Action */}
<button
type="button"
onClick={() => showNotification("Generated full PDF & CSV report export")}
className="h-8 px-3 rounded-lg bg-primary text-primary-foreground hover:opacity-90 active:scale-95 text-[13px] font-medium flex items-center gap-1.5 shadow-xs transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
<Download className="h-3.5 w-3.5" aria-hidden="true" />
<span>Export</span>
</button>
</div>
</div>
{/* Interactive View Switcher Tabs */}
<div className="flex items-center gap-1 overflow-x-auto pt-2 text-[13px] font-medium border-t border-border/70">
{[
{ id: "overview", label: "Full Dashboard", icon: LayoutDashboard },
{ id: "kpis", label: "KPI Metric Cards", icon: BarChart3 },
{ id: "analytics", label: "Revenue & Analytics", icon: TrendingUp },
{ id: "orders", label: "Orders & Activity", icon: Package },
].map((tab) => {
const Icon = tab.icon
const isActive = activeTab === tab.id
return (
<button
key={tab.id}
type="button"
onClick={() => setActiveTab(tab.id as typeof activeTab)}
className={`h-8 inline-flex items-center gap-2 px-3.5 rounded-lg text-[13px] font-medium transition-colors whitespace-nowrap focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${
isActive
? "bg-secondary text-foreground font-semibold shadow-xs"
: "text-muted-foreground hover:text-foreground hover:bg-muted/60"
}`}
>
<Icon className={`h-4 w-4 ${isActive ? "text-primary" : "text-muted-foreground"}`} aria-hidden="true" />
<span>{tab.label}</span>
</button>
)
})}
</div>
</div>
{/* TAB 1: FULL COMPOSITE DASHBOARD */}
{activeTab === "overview" && (
<AdminDashboardCards
stats={stats}
revenueData={scaledRevenueData}
categoryData={scaledCategories}
topProducts={topProducts}
customerGrowth={customerGrowthData}
inventoryAlerts={inventoryAlerts}
orders={ordersList}
activities={activitiesList}
loading={loading}
/>
)}
{/* TAB 2: KPI METRIC CARDS SHOWCASE */}
{activeTab === "kpis" && (
<div className="space-y-6">
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3 p-4 rounded-xl border border-border/80 bg-muted/20">
<div>
<h2 className="text-base font-semibold text-foreground">
StatCard Architecture & Accent Palettes
</h2>
<p className="text-xs text-muted-foreground mt-0.5">
StatCard tiles support interactive hover elevations, keyboard Enter/Space clicks,
trend delta pills, and pure semantic tokens.
</p>
</div>
<div className="flex items-center gap-3">
<label className="inline-flex items-center gap-2 text-xs font-medium text-foreground cursor-pointer select-none">
<input
type="checkbox"
checked={compactStats}
onChange={(e) => setCompactStats(e.target.checked)}
className="rounded border-border text-primary focus:ring-ring h-4 w-4"
/>
Compact padding mode
</label>
</div>
</div>
{/* Grid of all 7 accent variations */}
<div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-3.5 items-stretch">
<StatCard
label="Primary Accent"
value="$48,920.00"
delta={18.4}
hint="core platform primary"
accent="primary"
compact={compactStats}
loading={loading}
icon={DollarSign}
className="h-full"
onClick={() => showNotification("Clicked Primary Accent StatCard")}
/>
<StatCard
label="Chart-1 Token"
value="1,492"
delta={8.2}
hint="token: var(--color-chart-1)"
accent="chart-1"
compact={compactStats}
loading={loading}
icon={ShoppingCart}
className="h-full"
onClick={() => showNotification("Clicked Chart-1 StatCard")}
/>
<StatCard
label="Chart-2 Token"
value="98.4%"
delta={3.1}
hint="token: var(--color-chart-2)"
accent="chart-2"
compact={compactStats}
loading={loading}
icon={Check}
className="h-full"
onClick={() => showNotification("Clicked Chart-2 StatCard")}
/>
<StatCard
label="Chart-3 Token"
value="3,240 hrs"
delta={-4.5}
hint="token: var(--color-chart-3)"
accent="chart-3"
compact={compactStats}
loading={loading}
icon={Calendar}
className="h-full"
onClick={() => showNotification("Clicked Chart-3 StatCard")}
/>
<StatCard
label="Chart-4 Token"
value="18.9 ms"
delta={12.0}
invertTrend
hint="token: var(--color-chart-4)"
accent="chart-4"
compact={compactStats}
loading={loading}
icon={Activity}
className="h-full"
onClick={() => showNotification("Clicked Chart-4 StatCard")}
/>
<StatCard
label="Chart-5 Token"
value="4,921"
delta={24.6}
hint="token: var(--color-chart-5)"
accent="chart-5"
compact={compactStats}
loading={loading}
icon={Users}
className="h-full"
onClick={() => showNotification("Clicked Chart-5 StatCard")}
/>
<StatCard
label="Destructive Token"
value="3 Failures"
delta={-50.0}
hint="token: var(--color-destructive)"
accent="destructive"
compact={compactStats}
loading={loading}
icon={Receipt}
className="h-full"
onClick={() => showNotification("Clicked Destructive StatCard")}
/>
<StatCard
label="Custom Hint Only"
value="Active Now"
hint="No delta percentage"
accent="primary"
compact={compactStats}
loading={loading}
icon={Layers}
className="h-full"
onClick={() => showNotification("Clicked Hint Only StatCard")}
/>
</div>
</div>
)}
{/* TAB 3: REVENUE & ANALYTICS DEEP DIVE */}
{activeTab === "analytics" && (
<div className="space-y-6">
<div className="grid grid-cols-1 items-stretch gap-6 lg:grid-cols-3">
<div className="lg:col-span-2 h-full flex flex-col">
<RevenueOverviewCard
title={`Net Revenue (${timeRange})`}
description={`Trailing comparison in ${currency}. Scrub or press Left/Right arrow keys.`}
data={scaledRevenueData}
currency={currency}
loading={loading}
className="h-full"
action={
<div className="flex items-center gap-1 text-xs">
{(["7M", "90D", "30D"] as TimeRange[]).map((r) => (
<button
key={r}
type="button"
onClick={() => setTimeRange(r)}
className={`px-2 py-1 rounded text-xs font-medium transition-colors ${
timeRange === r
? "bg-primary text-primary-foreground font-semibold"
: "text-muted-foreground hover:bg-muted"
}`}
>
{r}
</button>
))}
</div>
}
/>
</div>
<div className="h-full flex flex-col">
<SalesByCategoryCard
title="Revenue by Category"
description={`Breakdown in ${currency}. Click or use arrow keys to inspect slices.`}
data={scaledCategories}
currency={currency}
loading={loading}
className="h-full"
/>
</div>
</div>
<div className="grid grid-cols-1 items-stretch gap-6 lg:grid-cols-2">
<div className="h-full flex flex-col">
<CustomerGrowthCard
totalCustomers={customerGrowthData.total}
monthlyNew={customerGrowthData.monthlyNew}
points={customerGrowthData.points}
loading={loading}
className="h-full"
/>
</div>
<div className="h-full flex flex-col">
<TopSellingProductsCard
products={topProducts}
loading={loading}
className="h-full"
onViewAll={() => showNotification("Viewing full catalog ranking")}
/>
</div>
</div>
</div>
)}
{/* TAB 4: ORDERS & ACTIVITY */}
{activeTab === "orders" && (
<div className="space-y-6">
{/* Order Filters & Search Toolbar */}
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3 p-3.5 sm:p-4 rounded-xl border border-border/80 bg-muted/20">
<div className="relative flex-1 max-w-sm">
<Search className="absolute left-2.5 top-2 h-4 w-4 text-muted-foreground" aria-hidden="true" />
<input
type="text"
placeholder="Search by order ID or customer..."
value={orderSearchQuery}
onChange={(e) => setOrderSearchQuery(e.target.value)}
className="h-8 w-full rounded-lg border border-border/80 bg-card pl-8 pr-3 text-[13px] text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring shadow-xs"
/>
</div>
{/* Status Tabs */}
<div className="flex flex-wrap items-center gap-1.5 text-[13px]">
{["all", "paid", "pending", "refunded", "shipped"].map((st) => (
<button
key={st}
type="button"
onClick={() => setOrderStatusFilter(st)}
className={`h-8 px-3 rounded-lg capitalize text-[13px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${
orderStatusFilter === st
? "bg-primary text-primary-foreground font-semibold shadow-xs"
: "border border-border/80 bg-card text-muted-foreground hover:text-foreground"
}`}
>
{st}
</button>
))}
</div>
</div>
{/* Orders Table Card + Activity / Inventory */}
<div className="grid grid-cols-1 items-stretch gap-6 lg:grid-cols-3">
<div className="lg:col-span-2 h-full flex flex-col">
<RecentOrdersCard
title={`Recent Orders (${filteredOrders.length})`}
description="Filtered customer transactions with live status indicators"
orders={filteredOrders}
loading={loading}
className="h-full"
footerLinkText="Download order ledger (.csv) →"
onFooterClick={() => showNotification("Exporting filtered order ledger")}
/>
</div>
<div className="space-y-6 h-full flex flex-col justify-between">
<div className="flex-1 flex flex-col">
<InventoryAlertsCard items={inventoryAlerts} loading={loading} className="h-full" />
</div>
<div className="flex-1 flex flex-col">
<RecentActivityCard
activities={activitiesList}
loading={loading}
className="h-full"
footerLinkText="View audit logs →"
onFooterClick={() => showNotification("Opening security audit logs")}
/>
</div>
</div>
</div>
</div>
)}
</div>
)
}











