Home / Function/ ProfileForm() — ui Function Reference

ProfileForm() — ui Function Reference

Architecture documentation for the ProfileForm() function in drawer-dialog.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  b92d46e4_827a_b70b_05f3_7340aee8fe04["ProfileForm()"]
  a4637e2d_18e2_a7c9_49de_d83845d2bc95["drawer-dialog.tsx"]
  b92d46e4_827a_b70b_05f3_7340aee8fe04 -->|defined in| a4637e2d_18e2_a7c9_49de_d83845d2bc95
  style b92d46e4_827a_b70b_05f3_7340aee8fe04 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/default/examples/drawer-dialog.tsx lines 73–87

function ProfileForm({ className }: React.ComponentProps<"form">) {
  return (
    <form className={cn("grid items-start gap-4", className)}>
      <div className="grid gap-2">
        <Label htmlFor="email">Email</Label>
        <Input type="email" id="email" defaultValue="shadcn@example.com" />
      </div>
      <div className="grid gap-2">
        <Label htmlFor="username">Username</Label>
        <Input id="username" defaultValue="@shadcn" />
      </div>
      <Button type="submit">Save changes</Button>
    </form>
  )
}

Subdomains

Frequently Asked Questions

What does ProfileForm() do?
ProfileForm() is a function in the ui codebase, defined in deprecated/www/registry/default/examples/drawer-dialog.tsx.
Where is ProfileForm() defined?
ProfileForm() is defined in deprecated/www/registry/default/examples/drawer-dialog.tsx at line 73.

Analyze Your Own Codebase

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

Try Supermodel Free