LogDrainsCard() — supabase Function Reference
Architecture documentation for the LogDrainsCard() function in LogDrainsCard.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/studio/components/interfaces/LogDrains/LogDrainsCard.tsx lines 11–34
export const LogDrainsCard = ({
title,
description,
rightLabel,
icon,
onClick,
}: LogDrainsCardProps) => {
return (
<button className="w-full h-full text-left" onClick={onClick}>
<Card className="p-6 cursor-pointer hover:bg-surface-200 hover:border-strong transition-colors h-48">
<div className="flex flex-col gap-5">
<div className="flex items-start justify-between w-full">
<div>{icon}</div>
<div className="text-xs text-foreground-light">{rightLabel}</div>
</div>
<div className="flex flex-col gap-1">
<h1 className="text-base">{title}</h1>
<p className="text-sm text-foreground-light leading-relaxed">{description}</p>
</div>
</div>
</Card>
</button>
)
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free