about
Thin
cards
ChecksCompareImageMinimalplainSteps
contact
Address
core
Consent
footer
Slim
hero
Bigcentral
lists
Panel
nav
Slimslim Desktopslim MobileSpringSpring DesktopSpring Mobile
sections
Problem SolutionSimple
text
largeParagraph

Theme Customizer

v1.0

Address contact

Flexible contact card with slots for title, image, company, and description, plus address, phone, and email rows with icons.

contactaddressui
Props showhide
PropTypeDefault / Req.Description
titleString—The heading or title of the contact section.
descriptionString—Descriptive text or notes about the contact or location.
imageObject—Image object for the contact card.
companyString—Name of the company or organization.
addressString—Physical address for the contact location.
phoneString—Phone number for contact.
emailString—Email address for contact.
Slots showhide
  • title — Custom markup or slot content to replace the default title.
  • image — Custom markup or slot content to replace the default image block.
  • company — Custom markup or slot content to replace the default company name.
  • description — Custom markup or slot content to replace the default descriptive paragraph.
  • footer — Additional slot for rendering extra content below the address details.

Get the code!

License Summary

You may use these UI components in your own personal or commercial projects. You may not resell, redistribute, sublicense, or package them as standalone assets or template/library packs.

Full terms: End-User License Agreement

Below you can expand the main implementation file and any supporting components. Use the “Copy” button to grab a snippet straight to your clipboard.

1 Copy raw components

These are the raw components that are required to run this example. Copy-paste them into your project. Most likely you will not change anything in these files, but you can if you want to. These are the components that are used in the main implementation file.

address.vue
<script setup>
const props = defineProps({
  title: String,
  description: String,
  image: Object,
  address: String,
  phone: String,
  email: String,
  company: String,
});
</script>

<template>
  <div
    class="h-full flex flex-col gap-4 font-iq-paragraph leading-iq-paragraph tracking-iq-paragraph text-iq-paragraph-color"

  >
    <slot name="title">
      <div class="text-2xl font-bold lg:text-3xl font-iq-header leading-iq-header tracking-iq-header text-iq-header-color">{{ title }}</div>
    </slot>

    <slot name="image">
      <NuxtImg
        :src="image.src"
        :alt="image.alt"
        sizes="100vw md:50vw lg:50vw"
        class="rounded-iq-roundness mt-2"
      />
    </slot>

   

    <address class="w-full not-italic mt-2">
      <slot name="company">
        <p class="text-xl text-iq-header-color">
          {{ company }}
        </p>
      </slot>

       <slot name="description">
      <p class="text-justify text-sm mt-2">
        {{ description }}
      </p>
    </slot>

      <!-- Social media links, address, contact info -->
      <p class="mt-2 flex flex-row items-center gap-4">
        <Icon
          name="material-symbols:location-on"
          class="text-iq-primary"
          size="24px"
        />
        {{ address }}
      </p>

      <p class="mt-2 flex flex-row items-center gap-4">
        <Icon
          name="material-symbols:phone-in-talk"
          class="text-iq-primary"
          size="24px"
        />
        {{ phone }}
      </p>

      <p class="mt-2 flex flex-row items-center gap-4">
        <Icon
          name="material-symbols:mail-outline"
          class="text-iq-primary"
          size="24px"
        />
        {{ email }}
      </p>
    </address>
  </div>
</template>

2 Copy main implementation file

This is the main Vue file that uses the component. Copy-paste this into your project. In this code feel free to change anything you like, such as the component name, props, or class. This is the place where you control the main component.

address.vue
<script setup></script>

<template>
  <div class="iq-card-glass max-w-3xl mx-auto ">
    <ContactAddress
      class="p-8"
      title="Contact us"
      description="
If you have any questions, concerns, or feedback, please don't hesitate to reach out to us. We are here to help and will respond as soon as possible. You can contact us via phone, email, or by visiting our office. We look forward to hearing from you!
    "
      :image="{
        src: 'https://picsum.photos/1000',
        alt: 'Contact us',
      }"
      address="ul. Przykładowa 123, 00-000 Warszawa"
      phone="123 456 789"
      email="[email protected]"
      company="Alexandria's Awesome Company"
    />
  </div>
</template>

3 Apply your styles

Decide whether you want a global design-system  or a one-off inline snippet.

Full design system

Complete @theme block – import once and share across every component.

Use when:

  • You want to use multiple components across your site, and you want them to match your design system.
  • You want to change the design of all components at once.

How to use:

Copy the code below into main.css file. It is most likely in assets/css/main.css directory.

Single component

:style binding – paste straight onto any of ours components.

Use when:

  • You want to use a single component without affecting the rest of your design system.
  • You already use multiple components but you want this one to have a different style.

How to use:

Copy the code below and paste it into the :style binding of the component.

4 Manual Actions

I wish I could automate every little thing—but for now you’ll need to handle these final steps by hand. Apologies for the extra work!

Paste your chosen iq-card-* style

Now that you’ve picked a card preset, copy its CSS into your @layer components block in main.css. This ensures every `iq-card` wrapper will look just right.

Copy or customize iq-cta

iq-cta is the main call to action button class. It’s used in many places across the components. But for now it is only a single class that you can customize. You can copy the code below and paste it into your @layer components block in main.css. In future you will be able to fully customize it from our UI and choose from many presets.

3. Audit forms & inputs if you used any

I didn't have time to figure out consistency. Although there are no actions required, be mindful that the forms might not be entirely consistent with the design system. A quick once-over will keep everything looking sharp.