Profile Form

An account profile form with a display name input, a bio textarea and a Save profile button, composed from FormField, Input and Textarea in React.

src/registry/ui/profile-form.tsx/r/profile-form.json

Installation#

bash
npx shadcn@latest add @minidev/profile-form

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/profile-form.json

Usage#

tsx
import { ProfileForm } from "@/components/ui/profile-form"

export function Example() {
  return <ProfileForm />
}

API reference#

ProfileForm props
PropTypeDefault
classNamestring-

Dependencies#

npm

React only
All settings page components

Learn more