Files
policy-ui/.claude/skills/nuxt-ui/components/auth-form.md
HaimKortovich a2eb1f3789 Add nuxt-skills and update auto quotes to use new policy API structure
- Add nuxt-skills (vue, nuxt, nuxt-ui) to .claude/skills/
- Create useCustomerSelection() composable for managing insured/buyer selection
- Create usePolicyApi() composable for policy API operations
- Update auto quote components to use insured/buyer instead of client
- Update vehicle fields: remove valorVehiculo, add market_value, requested_value, rc_limits
- Make chassis_number and engine_number optional
- Update auto quote types and composables to match new API structure
- Update auto quote page to submit to policy API with new structure
2026-04-27 14:56:53 -05:00

1.1 KiB

AuthForm

A customizable Form to create login, register or password reset forms.

Key Props

  • fields: as an array of objects with the following properties:

  • name: string{lang="ts-type"}

  • type: 'checkbox' | 'select' | 'otp' | 'InputHTMLAttributes['type']'{lang="ts-type"}

Each field must include a type property, which determines the input component and any additional props applied: checkbox fields use Checkbox props, select fields use SelectMenu props, otp fields use PinInput props, and all other types use Input props.

  • title: to set the title of the Form.
  • description: to set the description of the Form.
  • icon: to set the icon of the Form.
  • providers: to add providers to the form.
  • separator: to customize the Separator between the providers and the fields.
  • submit: to change the submit button of the Form.

Usage

<UAuthForm
  <!-- props here -->
/>