Components/Address Form

Address FormNew

Shipping or billing address form with per-country rules, validation and correct autocomplete tokens.

Shipping, United Kingdom

Optional

Optional

Uncontrolled. Submit to see the value.

Billing, United States (controlled)

Optional

Installation

$npx shadcn@latest add @opendraft/address-form

Needs the @opendraft registry in your components.json. See Installation.

Dependencies

Source

The files the install command adds to your project. They're yours to edit.