Shipping Address

Shipping address form with full name, street address, city and postal code fields, each with the right autocomplete attribute for browser autofill at checkout.

src/registry/ui/shipping-address.tsx/r/shipping-address.json

Installation#

bash
npx shadcn@latest add @minidev/shipping-address

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/shipping-address.json

Usage#

tsx
import { ShippingAddress } from "@/components/ui/shipping-address"

export function Example() {
  return <ShippingAddress />
}

API reference#

ShippingAddress props
PropTypeDefault
classNamestring-

Dependencies#

npm

React only
All e-commerce components