Home / Function/ PaginationLink() — ui Function Reference

PaginationLink() — ui Function Reference

Architecture documentation for the PaginationLink() function in pagination.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  7b130e4b_279e_13b6_cee7_3c9175366dd8["PaginationLink()"]
  0eda7fd5_0553_91f1_94ce_76e4dfcddc7a["pagination.tsx"]
  7b130e4b_279e_13b6_cee7_3c9175366dd8 -->|defined in| 0eda7fd5_0553_91f1_94ce_76e4dfcddc7a
  style 7b130e4b_279e_13b6_cee7_3c9175366dd8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/pagination.tsx lines 42–59

const PaginationLink = ({
  className,
  isActive,
  size = "icon",
  ...props
}: PaginationLinkProps) => (
  <a
    aria-current={isActive ? "page" : undefined}
    className={cn(
      buttonVariants({
        variant: isActive ? "outline" : "ghost",
        size,
      }),
      className
    )}
    {...props}
  />
)

Subdomains

Frequently Asked Questions

What does PaginationLink() do?
PaginationLink() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/pagination.tsx.
Where is PaginationLink() defined?
PaginationLink() is defined in deprecated/www/registry/new-york/ui/pagination.tsx at line 42.

Analyze Your Own Codebase

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

Try Supermodel Free