Have Questions

Overview

The VHaveQuestions component is a visually appealing and functional UI component designed to encourage user interaction. It is ideal for prompting users to ask questions or access support. The component supports customizable titles, subtitles, buttons, and an optional image. Location - ui-kit/src/components/VAds/VHaveQuestions.vue

Features

  • Customizable Titles and Subtitles: Easily set the title and subtitle to convey your message.
  • Dynamic Button: Add a button with customizable text and link.
  • Optional Image: Display an image alongside the content, or hide it when not needed.
  • Responsive Design: The component adjusts seamlessly across various screen sizes.

Importing the Component

To use the VHaveQuestions component, import it as follows:

vue
import VHaveQuestions from 'UiKit/components/VAds/VHaveQuestions.vue';

Props

The component accepts the following props:

Prop NameTypeDefaultRequiredDescription
titleStringundefinedNoThe title displayed in the component.
subtitleStringundefinedNoThe subtitle displayed beneath the title.
buttonLinkStringundefinedNoURL for the button link. If not provided, the button is hidden.
buttonTextStringChat with AssistantNoText displayed on the button.
imageUrlString./haveQuestion.pngNoURL of the image displayed beside the content.
noImageBooleanfalseNoWhen set to true, hides the image section.

Slots

The VHaveQuestions component supports the following slots:

  • default: Slot for custom content inside the component.

Examples

vue
<script setup lang="ts">
import VHaveQuestions from 'UiKit/components/VAds/VHaveQuestions.vue';
</script>

<template>
  <VHaveQuestions
    title="Need Help?"
    subtitle="Our assistant is ready to guide you."
    buttonLink="https://example.com/chat"
    buttonText="Start Chat"
  />
</template>

Have more questions about this product?

Get in touch with us via our AI assistant for swift answers to all your questions.

Chat with Assistant
Without Image

Have more questions about this product?

Get in touch with us via our AI assistant for swift answers to all your questions.

Chat with Assistant
Help Ukraine to stop russian aggression