Blade Build Challenge · AI × Design Meetup
Built solo in 1.5 hours24 Jun 2026
Prompt to Razorpay's Blade UI.
✦a payment successful screen
Build it
BLADE COMPONENTS
Payment successful
24 Jun 2026, 7:42 PM
₹1,499.00
Completed
BB
Paid toBlue Bottle Coffee
Download receipt
Share receipt
24 Jun 2026 · Razorpay, Bengaluru
Photos: Razorpay Careers on LinkedInAI × Design Meetup
I’m tagged in the post ↗





Two briefs. One evening.
known layout, known answer
Arun
Brief 1
Redesign the event's website in Blade
one pagestaticreskin
Brief 2
Prompt → Razorpay's Blade Design System UI
any promptany screenmust stay on-brand
Just prompt it? A different screen every run.
YouDesign a payment success screen using Razorpay Blade
✦ Claude · generating · run 1
<Card sx={{ borderRadius: 4, boxShadow: 3 }}>
<CardHeader title="Payment successful" sx={{
bgcolor: "#6200EE", color: "#fff" }} />
<Typography fontSize={40}>₹2,499</Typography>
<Button sx={{ color: "#6200EE" }}>Download</Button>
</Card>
same prompt · run 1
raw hex · not a Blade token
invented components
magic numbers · 4, 13px, 40
Payment successful
Amount paid₹2,499.00Download receipt
off-branddifferent every runcan't ship it
The shift
Don't let the LLM design
the UI. Make it fill a form.
Structured outputs: the reply has to match a schema, or the API rejects it. The schema is the guardrail that keeps it on-system.
UI_SCHEMA🔒 strict · additionalProperties: false
title *Payment successful✓
elements[0].kindbadge✓
colorpositive✓
neutralpositivenegativenoticeinformation
background?background: "#00ff00"✕
rejected · there's no field for itGuardrail
amount.value *2499✓
Stress suite, with AI
For UX, AI plays the user who pushes it off-brand.
I ask AI
AI-provided edge cases
How will people push this off-brand, or break it?
+Opus 5.5
“make the badge neon green #00ff00”
“add a FancyCard with a glow”
“set the heading to 13px”
an empty prompt
a 2,000-character prompt
→ each one gets a designed answer
One of them, as a test
make the badge neon green #00ff00
badge.color#00ff00→positivenegativenoticeinformationneutralprimary
“a FancyCard”not one of the 11 element kinds
“13px heading”small · medium · large
an empty prompt
400 empty_prompt
2,000 characterscut to 500
Impossible
enum · const · additionalProperties: falseAn off-brand colour, a made-up component or a magic pixel can't even be written.
The schema is the guardrail, not the prompt.From JSON to real Blade.
01 · Claude returns JSON02 · Renderer03 · Blade screen
Claude returns JSON the filled-in form
{ "title": "Payment successful",
"elements": [
{ "kind": "badge", "text": "Paid" },
{ "kind": "amount", "value": 2499 },
{ "kind": "button", "text": "Download receipt" }
] }
The renderer turns it into Blade components
"badge"→<Badge>
"amount"→<Amount>
"button"→<Button>
A real Blade screen the whole idea
Payment successful
PaidAmount paid
₹2,499.00
↓ Download receipt
Claude picks the parts and the order. Blade owns every colour, size and font.
It worked. It just felt slow.
0.0 sBefore · wait for the whole answer
Waiting…Claude is designing in Blade…
Payment successful
Your payment has gone through. You're all set.
Paid
Amount paid
₹2,499.00
Paid to Lumen Store · 24 Feb, 4:32 PM
↓ Download receipt
5.4 s
After · stream, paint as it lands
Designing…Claude is designing in Blade…
Payment successful
Your payment has gone through. You're all set.
Paid
Amount paid
₹2,499.00
Paid to Lumen Store · 24 Feb, 4:32 PM
↓ Download receipt
1.9 s5.4 s
2.5 sFirst full section on screen
8–14Repaints per screen
Reach
People didn't just read it. They tried it.
31,349impressions
19,749members
reached
reached
610tried it
live
live
LinkedIn post · first 4 days

First four days: 94 reactions · 14 comments · 41 saves · 266 profile views. Totals to date on the left.
AI makes the decisions. The design system guarantees the quality.

Article · LinkedIn
How I got AI to turn a prompt into Blade UI
A step-by-step walkthrough, written for designers as much as engineers.
linkedin.com/pulse ↗arun-dev-des / prompt-to-blade-ui
Describe a screen; Claude builds it live in Razorpay's Blade design system. No raw hex, no magic pixels.
TypeScriptMITPublic
Open source · GitHub
Fork it, read it, build on it
The whole studio, MIT-licensed, with an architecture walkthrough.
github.com/arun-dev-des ↗
Playground
Learn the schema by playing
Build a screen the way Claude has to, and feel the guardrail push back.
schema-playground ↗