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
  238c876d_1441_12f4_af97_ffc9fbfd94d2["ProfileForm()"]
  69e37eb1_61e5_41b7_c3e4_5cfaf0c8ae27["drawer-dialog.tsx"]
  238c876d_1441_12f4_af97_ffc9fbfd94d2 -->|defined in| 69e37eb1_61e5_41b7_c3e4_5cfaf0c8ae27
  style 238c876d_1441_12f4_af97_ffc9fbfd94d2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/drawer-dialog.tsx lines 76–90

function ProfileForm({ className }: React.ComponentProps<"form">) {
  return (
    <form className={cn("grid items-start gap-6", className)}>
      <div className="grid gap-3">
        <Label htmlFor="email">Email</Label>
        <Input type="email" id="email" defaultValue="shadcn@example.com" />
      </div>
      <div className="grid gap-3">
        <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 apps/v4/examples/radix/drawer-dialog.tsx.
Where is ProfileForm() defined?
ProfileForm() is defined in apps/v4/examples/radix/drawer-dialog.tsx at line 76.

Analyze Your Own Codebase

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

Try Supermodel Free