Claude Ai and Custom Components

I have to say, I am truly enjoying the power of Claude and Custom Components. I’ve started converting some of my HTML components over to actual custom components with inspector controls. I am no programmer, but evidently Claude is. I’ve converted my Read by Author, Copy Article and created a Read Time component (until Massimo gets back from vacation and I will revert back to his ReadTime). It was able to incorporate the Gradient background functionality of Tailwind 4 as well.

You can see them on my article post page: Following Paul with WTBC - Rightly Dividing the Righteous Man

Wow :open_mouth: very cool - I like it a lot!!!

I want to make some also…

Can you tell us more?

What were the prompts?

Etc….

Really great :+1:

That is very cool… but you ain’t seen nothing yet :wink:

My initial prompt was:

can you program custom Elements components including inspector controls? See the following website for Elements API. Elements API | API | RapidWeaver Elements Docs

It said it was possible and told me how to add create a Dev Pack. So then my second prompt was:

Elements 3 now supports Tailwind 4. What I would like is a component that estimates Read time for the articles with a styleable button that uses svg icon that can be colored and the text of the button supplied by the user in a text box. It would need margin and padding controls.

From that point on it was a back and forth of adding things to the inspector until I had what I wanted.

Nice work! May I ask which Claude model you used? Sonnet, Opus, Fable? Effort level? Obviously the lessor the model the more efficient it is, that’s why I ask.

I use Opus with CoWork.