Put the face, then the bubble with the words and who said it.
praise-bubble.tsx
TestimonialBubble
<figure>| Prop | Type | Default | Description |
|---|---|---|---|
| side | "end""start" | "start" | start (default): the face at the inline start, the tail toward it. end: the mirror. |
| variant | "card""ink" | "card" | card (default): a bordered card bubble. ink: a solid ink bubble, for one bubble that leads. |
| drift | string | — | A slow drift of 4px up and back, on its own 6 to 9s loop chosen from drift, so a cloud of bubbles never moves in step. It stops off screen and in a hidden tab. Leave it out for a still bubble. |
| locale | string | — | The BCP 47 locale of a date in it. Default: the DisplayLocaleProvider, else "en-US". |
| labels | — | ||
| ...props | <figure> attributes | — | Every other attribute goes to the <figure>, with a ref. |
TestimonialBubbleContent
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TestimonialBubbleCaption
<figcaption>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <figcaption> attributes | — | Every other attribute goes to the <figcaption>, with a ref. |
Built with
Installs with Testimonial Bubble
- Components
- Testimonial





