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

Simple sections

Responsive two-column block pairing an image with heading, paragraph, and a call-to-action. Shows image inline on mobile, side-by-side on desktop, and supports layout reversal via the reverse prop. Uses @nuxt/image.

sectionssimpleui
Props showhide
PropTypeDefault / Req.Description
titleStringrequiredThe section heading text.
primaryColorString—Primary accent color for the section (e.g., Tailwind CSS class or hex code).
textParagraphString—Alternate paragraph text content.
descriptionString—Main descriptive paragraph text shown below the heading.
imageObject—Image object displaying alongside the text.
ctaObject—Call-to-action configuration.
reverseBoolean—If true, swaps the order of image and text on large screens.
Required libraries / modules showhide
  • @nuxt/image

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.

simple.vue
<script setup>
const props = defineProps({
  title: String,
  primaryColor: String,
  textParagraph: String,
  image: Object,
  cta: Object,
  description: String,
  reverse: Boolean,
});
</script>

<template>
  <div
    class=" flex flex-col lg:flex-row items-center gap-12 overflow-hidden font-iq-paragraph leading-iq-paragraph tracking-iq-paragraph text-iq-paragraph-color"
  >
    <div
      class="lg:w-1/2"
      :class="{
        'order-2': reverse,
      }"
    >
      <NuxtImg
        :src="image.src"
        :alt="image.alt"
        class="w-full object-contain rounded-iq-roundness transform -z-10 hidden lg:block"
      />
    </div>

    <div
      class="lg:w-1/2"
      :class="{
        'order-1': reverse,
      }"
    >
      <h2 class="text-2xl lg:text-4xl font-extrabold col-span-2 font-iq-header leading-iq-header tracking-iq-header text-iq-header-color">
        {{ title }}
      </h2>

      <NuxtImg
        :src="image.src"
        :alt="image.alt"
        class="w-full object-contain rounded-iq-roundness transform lg:hidden mt-4"
      />

      <p class="text-lg text-justify mt-4 leading-iq-paragraph">
        {{ description }}
      </p>

      <!-- Zorganizuj warszat -->
      <NuxtLink
        :to="cta.link"
        class="iq-cta inline-block mt-2 px-6 py-2 rounded-iq-roundness bg-iq-primary text-iq-paragraph-secondary-color"
      >
        {{ cta.text }}
      </NuxtLink>
    </div>
  </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.

simple.vue
<script setup></script>

<template>
  <div class="iq-card-glass">
    <SectionsSimple
      class="px-4 py-16"
      title="This is quite right!"
      description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
      :image="{
        src: 'https://picsum.photos/1400',
        alt: 'alternative text',
      }"
      :cta="{
        text: 'Click me!',
        link: '/',
      }"
    />
  </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.