Home / Function/ components.Card() — supabase Function Reference

components.Card() — supabase Function Reference

Architecture documentation for the components.Card() function in mdx-components.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/learn/components/mdx-components.tsx lines 152–160

  Card: ({ className, ...props }: React.HTMLAttributes<HTMLElement>) => (
    <div
      className={cn(
        'flex w-full flex-col items-center rounded-xl border bg-surface-100 text-card-background py-6 px-4 shadow transition-colors hover:bg-muted/50 sm:p-10',
        className
      )}
      {...props}
    />
  ),

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free