AI

Rules and prompts for Codex/Astra UI component experiments

Try creating UI components using Codex using Astra. Download the design rules and component prompts as two editable Markdown files, ready to use in Codex and adapt to your own ideas.
Jess Eddy 2 min read
Rules and prompts for Codex/Astra UI component experiments
🔒
For paid members · Downloadable files included at the end of this post

In a recent article, I shared my experience experimenting with UI components in Codex using Astra.

Astra — UI Component Experiments
A collection of compact UI experiments exploring shared design rules, content, and interaction.

My goal was to see what Astra could create when following a consistent set of design rules and clear prompts, while still making its own layout decisions.

For anyone interested in trying this approach, I’ve compiled the rules and prompts into two downloadable Markdown files. These resources give you a starting point for building your own components and show how different prompts can shape the results.

The rules provide a unified visual foundation, covering typography, spacing, color, imagery, and controls. Each prompt explains what the component should do and communicate. I refined the rules as I reviewed Astra’s output, making adjustments wherever I saw room for improvement.

If you’re new to the process, I suggest reading the original article (coming this week) for practical examples and reflections. From there, you can experiment with the prompts, tailor the rules to fit your needs, and discover the directions Astra can take them.

⬇ Download the files

Receive updates

Get updates delivered straight to your inbox, once every two weeks.

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to everyday ux.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.