Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reference for Nuxt UI v4 (125+ components built on Reka UI + Tailwind CSS v4) including forms, overlays, and theming.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
components/auth-form.md
1# AuthForm23A customizable Form to create login, register or password reset forms.45## Key Props67- `fields`: as an array of objects with the following properties:89- `name: string`{lang="ts-type"}10- `type: 'checkbox' | 'select' | 'otp' | 'InputHTMLAttributes['type']'`{lang="ts-type"}1112Each field must include a `type` property, which determines the input component and any additional props applied: `checkbox` fields use [Checkbox](/docs/components/checkbox#props) props, `select` fields use [SelectMenu](/docs/components/select-menu#props) props, `otp` fields use [PinInput](/docs/components/pin-input#props) props, and all other types use [Input](/docs/components/input#props) props.1314- `title`: to set the title of the Form.15- `description`: to set the description of the Form.16- `icon`: to set the icon of the Form.17- `providers`: to add providers to the form.18- `separator`: to customize the [Separator](/docs/components/separator) between the providers and the fields.19- `submit`: to change the submit button of the Form.2021## Usage2223```vue24<UAuthForm25<!-- props here -->26/>27```28