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
  dfbfad4c_60ce_d22b_078f_b4702fe320fc["CardAction()"]
  6aeaf5ac_5f0c_00b1_0d9d_87cf84c56ca0["card.tsx"]
  dfbfad4c_60ce_d22b_078f_b4702fe320fc -->|defined in| 6aeaf5ac_5f0c_00b1_0d9d_87cf84c56ca0
  style dfbfad4c_60ce_d22b_078f_b4702fe320fc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/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/radix/ui/card.tsx.
Where is CardAction() defined?
CardAction() is defined in apps/v4/registry/bases/radix/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