AI Policy

We live in an era in which code has suddenly become extremely cheap. One person with an LLM can output an amount of code in 11 minutes that would normally take a couple of weeks.

Why invest in a component library when you can prompt one into existence yourself? Well, partially because you have my promise that these components are not simply AI slop. I have a set of principles I've followed in developing this library:

Usage of AI

Marketing site/landing page, etc: I am, in general, fairly pro-AI, and I have used AI freely in developing this website, the server that hosts it, setting up the private hex repo, and a number of other things needed to make Dizzy an actual product.

The components themselves: The components themselves are written by hand, but AI is used to sketch out new ideas or for speeding up rote tasks like styling, which I don't feel makes a large difference when it is done completely by hand.

Styling with CSS/Tailwind/etc: As mentioned above, I don't think it makes a large difference to the end product whether styling is done completely by hand or not so I use AI freely for this purpose.

Writing documentation: Documentation, whilst it would be great to automate because I do find it pretty rote, tedious, and menial, unfortunately is not generally very great when written by AI, so I try to do as much of this by hand as possible. Things like describing the params accepted by a component, is completely fine in my opinion to automate, but when it comes to actual prose that is read by a human I try to do that as much as possible myself.

Copywriting, marketing blurbs, etc: I would also put this in the camp of, "it's better when a human does it", but unfortunately I'm neither an amazing copywriter not marketer, so I use AI more freely in these areas, but I do try to write it as much by hand as possible because I personally dislike the tone of AI-generated marketing copy.

Trust

I think AI usage in this sort of thing is all a matter of trust. I try to be up-front and transparent with you about how and where I use AI, and I hope in return you give me a little trust back that you're getting a good product that's created primarily by a real human—a real human who just happens to love Elixir.

Ultimately, I am trying to sell you a product, and I don't myself want to purchase a product that is majority-created by a machine. So that is my approach to this whole thing. I utilize AI where I think I can do so ethically and effectively, but I try to curtail it as much as possible to present to you a product that is as much as possible the output of my thoughts, professional experience, and human touch.

How do the components work with AI?

In my normal day-to-day work, I use AI quite heavily, and one of my goals is to make Dizzy work extremely well with AI workflows. I am planning to release some specialized skills for Codex and Claude Code to make working with Dizzy components even easier when using an AI agent. I'll also be adding in some bits you can add to your AGENTS.md file to make your agent implicitly know how to work with Dizzy components.

Explore Dizzy