BETTER-AUTH. UI
API Reference

AdditionalField

Below is the AdditionalField interface which allows you to define custom fields for your authentication flow such as signup or user settings.

PropTypeDefault
description?
any
-
instructions?
any
-
label
ReactNode
-
placeholder?
string
-
required?
boolean
-
type
FieldType
-
validate?
(value: string) => Promise<boolean>
-