Home / Function/ ButtonDestructive() — ui Function Reference

ButtonDestructive() — ui Function Reference

Architecture documentation for the ButtonDestructive() function in button-destructive.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  ef205b42_6f26_0246_ab0c_4db18ad81211["ButtonDestructive()"]
  e82ca5c3_9eb3_51a7_42ff_e847dce1efbc["button-destructive.tsx"]
  ef205b42_6f26_0246_ab0c_4db18ad81211 -->|defined in| e82ca5c3_9eb3_51a7_42ff_e847dce1efbc
  style ef205b42_6f26_0246_ab0c_4db18ad81211 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/examples/button-destructive.tsx lines 3–5

export default function ButtonDestructive() {
  return <Button variant="destructive">Destructive</Button>
}

Subdomains

Frequently Asked Questions

What does ButtonDestructive() do?
ButtonDestructive() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/button-destructive.tsx.
Where is ButtonDestructive() defined?
ButtonDestructive() is defined in apps/v4/registry/new-york-v4/examples/button-destructive.tsx at line 3.

Analyze Your Own Codebase

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

Try Supermodel Free