Bubble

Examples

Basic usage.

expand code expand code

Set custom avatar by avatar prop, set the placement of the message by placement prop, which has two preset values: start and end.

expand code expand code

Control the loading state by loading prop.

expand code expand code

Enable typing output by setting the typing prop. If the updated content is a subset of the previous content, it will continue to output, otherwise it will output again.

expand code expand code

Cooperate with markdown-it to achieve customized rendering content.

expand code expand code

Set the style variant of the bubble through the variant property.

expand code expand code

Set the shape of bubble through shape.

expand code expand code

API#

Components Overview Markdown