
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
pink-balloon-font
Advanced tools
A glossy pink balloon bitmap font for Expo, with a Nano Banana font generator CLI.
A glossy pink 3D bitmap font for Expo and React Native, with a CLI for generating your own coherent font using Nano Banana.
The package includes A-Z, a-z, and 0-9 as 62 transparent, variable-width PNG glyphs. They weigh 1.01 MB together and ship with an accessible BalloonText component that works without a font-loading step.
This is a bitmap display font, not a
.ttfor.otf, so it cannot be loaded withexpo-fontoruseFonts(). Use it for headings, scores, counters, and short labels. Keep paragraphs and input fields in a regular text font.
npm install pink-balloon-font
import { BalloonText } from "pink-balloon-font";
export function Score() {
return (
<BalloonText
text="Kiki 2048"
size={72}
letterSpacing={-4}
accessibilityLabel="Kiki, score 2048"
/>
);
}
Metro finds the static require() calls in the package and bundles the PNGs automatically. Unsupported characters render as spaces.
| Prop | Type | Default | Purpose |
|---|---|---|---|
text | string | Required | Text to render |
size | number | 64 | Glyph height in points |
letterSpacing | number | 0 | Space between glyphs |
style | StyleProp<ViewStyle> | — | Style for the containing row |
accessibilityLabel | string | text | Spoken label for assistive technology |
For direct access to the font metrics and image sources:
import {
BALLOON_FONT_EM,
balloonFont,
} from "pink-balloon-font/font";
The balloon look depends on color, reflections, seams, highlights, and soft 3D shading. A normal font file stores outlines, so it cannot reproduce that material faithfully. The PNG glyphs preserve the original render while shared font metrics keep every character aligned.
The included renderer handles one short line at a time. Split text on newlines and render multiple BalloonText rows when you need a multiline display.
The CLI uses google/nano-banana-2 through Replicate. It generates each glyph on a flat chroma-key background, removes that background locally, aligns the result to shared font metrics, and writes compact transparent PNGs.
Add a Replicate token to .env in the directory where you run the command:
REPLICATE_API_TOKEN=r8_your_token_here
REPLICATE_API_KEY also works.
Generate the full alphanumeric set:
npx pink-balloon-font generate
Generate selected characters:
npx pink-balloon-font generate \
--characters "ABCabc123!?" \
--output ./my-balloon-font
The generated directory contains app-ready assets and the original model output:
my-balloon-font/
├── assets/
│ ├── BalloonFont.js
│ ├── font.json
│ └── glyph-*.png
└── raw/
└── glyph-*.png
The default prompt generates the pink balloon style without shipping reference images in the package. Add your own image when you need tighter consistency or want to create a different family:
npx pink-balloon-font generate \
--reference ./my-material.png \
--style "inflated cobalt-blue satin with soft silver highlights"
| Option | Purpose |
|---|---|
--characters "ABC123" | Generate only the supplied characters |
--size 128 | Set packaged glyph height; 256 is the default |
--reference ./style.png | Add a visual reference; repeat for several images |
--style "..." | Describe the material, color, and shape |
--concurrency 2 | Set the number of parallel generations |
--key-color "#00ff00" | Change the chroma-key background |
--overwrite | Regenerate glyphs already present |
--dry-run | Print prompts without calling Replicate |
Generation uses paid Replicate API calls. Test a small character set before generating the full 62-glyph family.
FAQs
A glossy pink balloon bitmap font for Expo, with a Nano Banana font generator CLI.
The npm package pink-balloon-font receives a total of 9 weekly downloads. As such, pink-balloon-font popularity was classified as not popular.
We found that pink-balloon-font demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.