The AI Design System Trap (and how I escaped it)
I tried to build a production-ready design system entirely with AI. It was fast, it was beautiful, and then... it all went horribly wrong.
I have a confession: Iโm obsessed with AI. ๐ค Specifically, Iโve been obsessed with seeing how far I can push Bolt.new and AI agents to build things for me while I just sip tea and watch the terminal scroll.
So, naturally, I decided to build a complete, production-ready design system from scratch. No manual tweaks, just me and my AI sidekick, building a modular world for my future projects.
The goal? A design system focused on portfolios. Not just buttons and inputs, but Brand Values, Tone of Voice, and Accessibility.
Spoiler alert: It was a beautiful disaster. ๐
๐ ๏ธ The Dream: Building in Small Steps
I didnโt want the AI to just dump a thousand components on me. I wanted to be โthe architect.โ We added stuff one by one.
- โAdd a primary button.โ
- โNow, give me a hero section.โ
- โWait, letโs define the brandโs โvoiceโ first.โ
It felt amazing. In just a few hours, I had this comprehensive system. It had everything. A media player? Sure! A download center? Why not!
The โAha!โ Moment
Adding extra components was too easy. Need a complex data table? Boom, generated. This is where I got drunk on power. ๐บ

๐ The โToo Usefullโ Mistake
The first lesson I learned: AI loves a good over-engineer. ๐ง
Because itโs so fast to generate code, I let it add components that were way too complex. In the โreal world,โ you donโt need a media player with 40 different props just for a portfolio site. But the AI doesnโt know that, it just wants to be helpful.
I ended up with a design system that was โtoo big.โ It was like trying to use a Swiss Army Knife that has 500 blades. Good luck finding the one you actually need!
๐ The Crash: When AI Met Reality
After patting myself on the back for my massive design system, I tried to actually use it. I wanted to remake my own portfolio using these shiny new components.
This is where the wheels fell off. ๐๏ธ๐จ
I pointed my AI agents at my portfolio data and said, โOkay, use the design system to build this.โ
- The Context Window Wall: The system was so big that the AI agents struggled to keep the whole thing in โmind.โ
- Component Hallucinations: Instead of using my
<Card />component, the AI would get lazy and just make a newdivwith some Tailwind classes. - The Token Burn: I burned through a mountain of tokens just trying to convince the agent to stop changing the UI and follow the guides I literally just finished building.
I gave up. It was faster to write it by hand than to manage the AI manager. ๐ซ
๐งฉ Interactive: The Design Token Headache
One of the biggest hurdles was the transition to Tailwind 4. I had all these design tokens in TypeScript, but Tailwind 4 is moving heavily toward CSS variables.
Try it yourself! Toggle between the โModernโ (CSS-first) and โLegacyโ (JS-first) approach below to see why my AI agent got so confused.
Token Strategy
// Current Mode: Tailwind V3 (JS)
๐ก The Pivot: A Better Way
I wish I had started the other way around. Instead of building a generic โBig Bangโ design system, I should have:
- Built a black or unstyled portfolio first.
- Mapped out the sitemap.
- Built components as needed around that specific structure.
When you build the system in a vacuum, you end up with a lot of โtheoreticalโ features that just confuse the AI agents later.
๐ The Redemption: Astro + Wretched Wind
I took a break for a month. Cleared my head. Then, I tried again.
This time, I used Astro. I focused on building exactly what I needed. I still had to do some manual fixes (AI isnโt 100% there yet for high-polish design), but it worked!
The result? Wretched Wind. ๐ช๏ธ

Itโs leaner, faster, and the design actually fits together because it was built with a purpose, not just to see how many components an AI could generate.
๐ Lessons for my fellow AI tinkerers:
- Small is fast. Big design systems are AI magnets for confusion.
- Sitemap first. Know where youโre going before you build the car.
- Stay flexible. Tailwind 4 is changing things, keep your tokens close to the CSS.
The AI is a great co-pilot, but donโt let it fly the plane into a mountain of over-engineered components. Keep it simple, keep it purposeful. โ๏ธ


