Address

<sw-address>

ready
Component to render a postal address

Usage

Loading...
<sw-address headline="Billing address" :address="{
    salutation: 'Mister',
    title: 'Doctor',
    firstName: 'John',
    lastName: 'Doe',
    street: 'Main St 123',
    zipcode: '12456',
    city: 'Anytown',
    country: { name: 'Germany' }
}"></sw-address>

Component properties

Property name Type Default
address Object
headline String
showEditButton Boolean false

Imports

  • ./sw-address.html.twig
  • ./sw-address.scss

Twig blocks

  • sw_address_headline
  • sw_address_company
  • sw_address_full_name
  • sw_address_street
  • sw_address_additional_address_line_1
  • sw_address_additional_address_line_2
  • sw_address_zipcode
  • sw_address_city
  • sw_address_city_zipcode
  • sw_address_country
  • sw_address_body
  • sw_address