Home / Type/ ButtonProps Type — ui Architecture

ButtonProps Type — ui Architecture

Architecture documentation for the ButtonProps type/interface in button.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  1b746978_9e06_dd73_7b4e_bb55d3a9626a["ButtonProps"]
  aee1c23d_a3f5_974a_d73d_ad9b953709ce["button.tsx"]
  1b746978_9e06_dd73_7b4e_bb55d3a9626a -->|defined in| aee1c23d_a3f5_974a_d73d_ad9b953709ce
  style 1b746978_9e06_dd73_7b4e_bb55d3a9626a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/button.tsx lines 37–41

export interface ButtonProps
  extends React.ButtonHTMLAttributes<HTMLButtonElement>,
    VariantProps<typeof buttonVariants> {
  asChild?: boolean
}

Frequently Asked Questions

What is the ButtonProps type?
ButtonProps is a type/interface in the ui codebase, defined in deprecated/www/registry/new-york/ui/button.tsx.
Where is ButtonProps defined?
ButtonProps is defined in deprecated/www/registry/new-york/ui/button.tsx at line 37.

Analyze Your Own Codebase

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

Try Supermodel Free