{# @description A quotation in a speech bubble, with its tail pointing at the person who said it. #} {# @prop name:text | description:"Who said it" #} {# @prop role:text | description:"What they do and where" #} {# @prop source:text | description:"The work it comes from" #} {# @prop href:text | description:"Where the source can be read" #} {# @prop src:text | description:"A portrait of the person" #} {# @prop variant:select['base-100', 'base-200', 'base-300', 'primary', 'secondary', 'accent', 'neutral'] | default:"base-200" | description:"The colour of the bubble. The words take the colour the theme pairs with it." #} {# @prop align:select['start', 'centre'] | default:"start" | description:"Tail and person at the leading edge, or centred" #} {# @prop class:text | description:"Extra classes on the figure" #} {# @slot Good tools get out of the way. — What was said. Write the quotation marks if you want them. #} {% comment %} The tail is a square turned 45 degrees, half out of the bubble's lower edge. Not daisyUI's chat bubble, which is a turn in a conversation and has a side. {% endcomment %}
{{ slot }}
{% if name or role or source %} {% endif %}