Usage guide

How to use the generator

1. Choose the visual style

Start by selecting a solid fill or a gradient. Solid bubbles are useful for UI states and simple callouts. Gradient bubbles are better when the speech bubble itself needs to carry visual emphasis in a hero, card, or annotation.

If you choose a gradient, adjust both colors and the angle before tuning the shape. It is easier to judge the tail position once the background treatment is already close to the final look.

2. Shape the tail intentionally

Switch between isosceles and right-angle tails depending on the tone you want. Isosceles feels softer and more general-purpose. Right-angle tails feel more graphic and directional, which can work well in product annotations or comic-inspired layouts.

After selecting the tail type, adjust the side, size, and offset. The flip control is only relevant to right-angle tails and is best used when the bubble points toward a nearby UI element or illustration.

3. Edit the text directly inside the preview

Click into the speech bubble preview and type directly. This makes it easier to judge line length, padding, and the relationship between the text block and the tail before you copy any code.

For production use, keep the preview text close to the amount of copy you expect in the final component. That gives you a more realistic sense of bubble proportions and export size.

4. Copy the generated CSS when the shape is settled

Expand the generated code panel and copy either the vanilla CSS or the JSX-oriented Tailwind version. The CSS output is the best choice when you want a direct stylesheet snippet. The JSX tab is helpful when you want to move quickly inside a React component or prototyping environment.

Before shipping, rename the class or move the style values into your own design tokens so the speech bubble fits the naming conventions of your codebase.

5. Export assets when code is not enough

PNG export is useful for quick placement in slides, documentation, or social assets. SVG export is more flexible if you need scaling or you want to open the result in a design tool for additional composition.

Keep in mind that the generator is optimized for clean bubble output, not full poster composition. Export the speech bubble here, then place it inside your design system or artboard where the rest of the layout belongs.

Common mistakes to avoid

  • Choosing the tail position before the text length is realistic.
  • Expecting the current output to provide a true border treatment.
  • Testing only on a small mobile viewport when the final asset will be used on desktop or large-format visuals.