Home / Function/ CardFooter() — ui Function Reference

CardFooter() — ui Function Reference

Architecture documentation for the CardFooter() function in card.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  e8ce0b6c_2946_9dbc_7400_5d47f41ce87a["CardFooter()"]
  e06397bb_9733_481e_35fa_79363348baa0["card.tsx"]
  e8ce0b6c_2946_9dbc_7400_5d47f41ce87a -->|defined in| e06397bb_9733_481e_35fa_79363348baa0
  style e8ce0b6c_2946_9dbc_7400_5d47f41ce87a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui/card.tsx lines 81–92

function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="card-footer"
      className={cn(
        "bg-muted/50 flex items-center rounded-b-xl border-t p-4 group-data-[size=sm]/card:p-3",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does CardFooter() do?
CardFooter() is a function in the ui codebase, defined in apps/v4/examples/base/ui/card.tsx.
Where is CardFooter() defined?
CardFooter() is defined in apps/v4/examples/base/ui/card.tsx at line 81.

Analyze Your Own Codebase

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

Try Supermodel Free