Create a coffee subscription hero with text in a circle. Espresso background (#1d1410) with a soft orange glow behind a 400px round badge on the right. On the left, a small uppercase kicker "Ember Oak Roasters", a serif headline "Roasted on Tuesday, in your cup by Friday." with "Friday." in orange (#e8743b), a grey line (#c9b8a3), a pill button "Start a subscription" and a text link. Build the badge in one SVG: an orange disc, a cream inner disc (#f3e6d3) and a dotted ring. Run two lines of text around circular paths with textPath and textLength so they close evenly: the outer ring "FRESH ROAST CLUB • SHIPS EVERY TUESDAY • SMALL BATCH •" in heavy espresso capitals, the inner ring of coffee origins in brown (#7a4a2e). The outer ring turns at 14 degrees a second and the inner one counter-rotates 1.35 times faster. Hovering speeds the outer ring to 70 degrees a second, easing in and out. Dragging spins it by the pointer angle and lets go with momentum that settles back to cruising speed, which also works on touch. A round espresso centre button with a drawn bean toggles "JOIN" to "YOU'RE IN" and gives the ring a fast spin. On phones put the badge above the text at 200px. Stop rotation for reduced motion.
Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.
Use it in three steps
- Copy the prompt with the button above.
- Paste it into your AI site builder, or any AI chat that writes code.
- Make it yours by writing your own offer around the ring and swapping the bean for your logo.
About this text in a circle
Putting text in a circle is a classic badge move, and the clean way to do it on the web is an SVG textPath with a textLength equal to the circumference, so the words close up evenly however long they are. This badge uses two rings: the club promise on the outside in heavy capitals and the coffee origins on the inside, turning the other way and a little faster.
It reacts in three ways. Hovering speeds the outer ring up, smoothly rather than with a jump. Grabbing it lets you spin it with your finger or mouse and fling it, after which it drifts back to its cruising speed. Pressing the bean in the middle joins the club and sends the ring round in a fast celebratory spin.
Why the prompt works
- It names the technique, textPath plus textLength, which avoids a gap or overlap where the text meets itself.
- It gives every speed in degrees a second, including the counter-rotation.
- It describes the drag and its momentum, so the badge feels physical on a phone.
- It plans the phone layout and a reduced motion stop.
Where to use it
Subscription heroes, shop badges, “available for work” stamps on portfolios and event stickers. Keep the ring text short and repeat it rather than squeezing in a sentence.
The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.