all widgets

badge

Static badges with a label, a message, and a color.

Examples

Every image below is rendered live by this worker.

build passing badge
/badge/static.svg?label=build&message=passing&color=3fb950
version badge
/badge/static.svg?label=version&message=v1.2.0
badge with a logo
/badge/static.svg?label=runs+on&message=cloudflare+workers&logo=cloudflare&logoColor=f38020
light mode badge
/badge/static.svg?label=license&message=Apache-2.0&mode=light&color=a78bfa

Builder

Edit the fields. The previews and the snippet update as you type.

dark preview light preview
README snippet, auto dark/light



	

API

Each widget is one endpoint, and every option is a query parameter. Responses are SVG images, cached on Cloudflare's edge, and usable from any site.

GET /badge/static.svg
label string Left text, muted. Optional, max 40 chars.
message string Right text, colored. Max 60 chars.
mode dark | light Color theme. Default dark.
color hex Message color, without #. Default blue.
labelColor hex Label color, without #.
logo slug simple-icons slug, drawn before the label.
logoColor hex Logo fill color, without #. Default 848484.
bg hex Background color override, without #.