User Profile Form Preset
This schema represents a standard user account profile edit panel. It includes validations for email formatting and dropdown fields for permission role assignments.
Templates
Global Form Settings
Fields list (5)
01
02
03
04
05
Edit Profile
Update your profile information and account details.
Form Fields Reference
| Field Key | Field Label | Input Type | Description | Zod Schema Rule |
|---|---|---|---|---|
| username | Username | Text Input | User's public display name. | z.string().min(1) |
| Email Address | Email Input | Primary login credentials identifier. | z.string().email() | |
| role | Role | Select Dropdown | Access permission level assignment. | z.enum(["admin", "member", "guest"]) |
| bio | Bio | Text Area | Short biographical statement about user. | z.string().optional() |
| receiveEmails | Marketing Emails | Switch Toggle | Subscribe to newsletters updates. | z.boolean() |