Home / Function/ CardAction() — ui Function Reference

CardAction() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  028a1835_d366_802d_1df9_35cf2b967837["CardAction()"]
  fecf4231_0200_6f18_0ca2_cba90257ec7b["card.tsx"]
  028a1835_d366_802d_1df9_35cf2b967837 -->|defined in| fecf4231_0200_6f18_0ca2_cba90257ec7b
  style 028a1835_d366_802d_1df9_35cf2b967837 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/ui/card.tsx lines 53–64

function CardAction({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="card-action"
      className={cn(
        "cn-card-action col-start-2 row-span-2 row-start-1 self-start justify-self-end",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does CardAction() do?
CardAction() is a function in the ui codebase, defined in apps/v4/registry/bases/base/ui/card.tsx.
Where is CardAction() defined?
CardAction() is defined in apps/v4/registry/bases/base/ui/card.tsx at line 53.

Analyze Your Own Codebase

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

Try Supermodel Free