1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. mangacn
  3. Speech Bubble

Speech Bubble

component

Manga speech bubble drawn in SVG at its real size and inscribed in its box, with real text inside. Variants: speech, thought (cloud), shout (spikes), whisper (dashed), narration (caption box), electronic (zigzag), wobbly (trembling). The tail points to top, bottom, start or end, aligned start/center/end, or none, and its room is reserved as margin; or pointAt={{ x, y }} (percent of the panel, in a Place) aims the tail at a point and lengthens it. Every length follows the font size, so on a Page the bubble scales with the page; there round bubbles square up a little to hold a block of text. align sets the text alignment, maxWidth the width limit (a percentage of the panel in a Place). BubbleGroup chains bubbles through a neck that hides both outlines.

pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/speech-bubble.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
  • cn
@components/manga/speech-bubble.tsx