IxDF UI Kit

ā€œSpeech Bubbleā€ Component

Overview

The component is used to display a userā€™s photo with a speech bubble. In most pf the cases, the text is the same, thatā€™s why we have assistant sub-component with a predefined message.

Profile image for Mads Soegaard
Hello! This is a text from the default slot.

Usage

@component('components.speechBubble--member', ['speakingMember' => $member])
    Hello! This is a text from the default slot.
@endcomponent

Props

  • speakingMember (required)
    App\Modules\Member\Models\Member

    Member instance to use photo and contact info.

Slots

  • default
    string (HTML)

    Custom speech message to display in a bubble.