X Enterprises
nuxt-x-formkit

Address Input

FormKit custom input type for structured address entry with street, city, state, and postal code fields.

Address Input

The address FormKit input type renders a structured address block — street, city, state/province, postal code, and country — as a single logical field. Auto-registered by the layer.

Components

<FormKit type="address" />

Outputs a nested object matching the field name with sub-keys for each address part.

<FormKit
  type="address"
  name="billingAddress"
  label="Billing Address"
  validation="required"
/>

Props

PropTypeDefaultDescription
namestringrequiredFormKit field name; value is a nested address object
labelstringLabel for the address group
validationstringFormKit validation rules
showCountrybooleantrueShow the country select field
countryOptionsstring[]common countriesCountry options for the select

AI Context

component: FormKit type="address"
package: "@xenterprises/nuxt-x-formkit"
use-when: Collecting structured mailing or billing addresses in FormKit forms
Copyright © 2026