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
  6c5b7170_25f5_be98_8d28_4a40782528c5["ButtonProps"]
  f8f0a13f_8dae_ad5f_74ef_a65cfcba7052["button.tsx"]
  6c5b7170_25f5_be98_8d28_4a40782528c5 -->|defined in| f8f0a13f_8dae_ad5f_74ef_a65cfcba7052
  style 6c5b7170_25f5_be98_8d28_4a40782528c5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/default/ui/button.tsx lines 36–40

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/default/ui/button.tsx.
Where is ButtonProps defined?
ButtonProps is defined in deprecated/www/registry/default/ui/button.tsx at line 36.

Analyze Your Own Codebase

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

Try Supermodel Free