<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Behavio</title>
    <description>The latest articles on DEV Community by Behavio (@behavio1).</description>
    <link>https://dev.to/behavio1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4269742%2F160200b9-b001-4fd8-b8b6-5ed60924d2b6.png</url>
      <title>DEV Community: Behavio</title>
      <link>https://dev.to/behavio1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/behavio1"/>
    <language>en</language>
    <item>
      <title>Your coding agent keeps writing the same UI. Give it real components instead</title>
      <dc:creator>Behavio</dc:creator>
      <pubDate>Fri, 27 Nov 2026 21:57:47 +0000</pubDate>
      <link>https://dev.to/behavio1/your-coding-agent-keeps-writing-the-same-ui-give-it-real-components-instead-136i</link>
      <guid>https://dev.to/behavio1/your-coding-agent-keeps-writing-the-same-ui-give-it-real-components-instead-136i</guid>
      <description>&lt;p&gt;Ask a coding agent for a pricing section and you get the same pricing section everyone else gets: three cards, the middle one highlighted, a gradient somewhere. Agents write UI from memory, and their memory averages out to a template.&lt;/p&gt;

&lt;p&gt;Good UI code is already out there, free to use. shadcn/ui, Radix, Base UI, Magic UI, Kokonut UI, Aceternity UI and the shadcn-style registries around them have components that someone designed, tested and shipped. The agent just doesn't know where to look, and searching 40 sites by hand is not something you want to do for every screen.&lt;/p&gt;

&lt;p&gt;We built &lt;a href="https://github.com/behavio1/clay-ui" rel="noopener noreferrer"&gt;Clay UI&lt;/a&gt; for that gap. It is an MIT-licensed CLI plus an agent skill. Your agent asks it for a component, picks from real matches, downloads the source and then rewrites it to fit your project.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it looks like
&lt;/h2&gt;

&lt;p&gt;Install it in a project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @behavio1/clayui init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F37ks0lprb5ny0ubbbvea.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F37ks0lprb5ny0ubbbvea.jpg" alt="How Clay UI works: you ask, your agent reads the need, Clay UI searches a local index, you pick a variant, Clay UI downloads the source, and your agent shapes it into your project" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This installs a skill for Claude Code (and for Codex, Cursor and other agents that read &lt;code&gt;.agents/skills&lt;/code&gt;) and builds a local index of the libraries. After that you talk to your agent as usual:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Find me a data table with filters and make it match our dashboard.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The agent runs a search. Here is real output from version 0.5.0, with no API keys set:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ clayui search "data table with filters" --limit 4
beautifului/filter-table  [gaps: preview-unverified]
    Filter Table — Status chips that reorganize live data.
    preview: https://www.beautifului.dev/#filter-table
reui/data-grid-column-filter  [complete]
    Data Grid Column Filter
    preview: https://reui.io/docs/data-grid-column-filter
blocks-so/table-03  [gaps: no-preview]
    Table with Filters — A table with filters block.
    preview: none
uiarc/filter-toolbar  [complete]
    Filter toolbar — Keep collection filters close and easy to reset.
    preview: https://uiarc.dev/components/filter-toolbar
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You open the preview links, pick one, and the agent runs &lt;code&gt;clayui get &amp;lt;id&amp;gt;&lt;/code&gt;. The source lands in a local folder as an example. The agent then rewrites it for your stack, tokens and style. Clay UI never installs a component or a dependency into your project. What ends up in your codebase is code your agent wrote, starting from something that already worked.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before and after
&lt;/h2&gt;

&lt;p&gt;We rebuilt five screens of a made-up app this way. The left side is a typical template; the right side uses components Clay UI found: &lt;code&gt;aceternity/hero-highlight&lt;/code&gt;, &lt;code&gt;avara/pricing-section&lt;/code&gt;, &lt;code&gt;spectrum/insight-cards&lt;/code&gt;, &lt;code&gt;devl/split-sign-up&lt;/code&gt; and &lt;code&gt;magicui/bento-grid&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F988n758y67nym08r90rj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F988n758y67nym08r90rj.jpg" alt="Five screens before and after" width="800" height="1251"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is a 53-second film of the same comparison on the &lt;a href="https://clayui.behavio.one/#before-after" rel="noopener noreferrer"&gt;website&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  A few decisions we made
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Licenses first.&lt;/strong&gt; A library only goes into the index if its license allows passing the source on and its code can be fetched by a machine. React Bits, Animate UI, shadcnblocks and shadcn studio are out because their licenses forbid redistribution. Prism UI is out because it is AGPL. The README lists every library we reviewed and left out, with the reason. Downloaded components keep their authors' terms, so keep their notices when you adapt them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Local and keyless by default.&lt;/strong&gt; The index lives on your machine, and search works right after install using keywords. If you add a Gemini API key, it switches to semantic search; only then does your query go to Gemini to be embedded. No account is needed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A small native binary.&lt;/strong&gt; The CLI is written in Rust. &lt;code&gt;npx&lt;/code&gt; fetches the right binary for macOS, Linux or Windows, so you need Node 18.20.8+ and nothing else.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The agent stays in charge.&lt;/strong&gt; Clay UI only finds and downloads. Matching your design system, tokens and naming stays the agent's job, with you reviewing the result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @behavio1/clayui init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Source: &lt;a href="https://github.com/behavio1/clay-ui" rel="noopener noreferrer"&gt;https://github.com/behavio1/clay-ui&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Website: &lt;a href="https://clayui.behavio.one" rel="noopener noreferrer"&gt;https://clayui.behavio.one&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If a library you like is missing, open an issue with a link to it and how its components can be fetched. We would also like to hear where search gives you bad matches. How we measure search quality is written up in &lt;a href="https://github.com/behavio1/clay-ui/blob/main/docs/search-tuning.md" rel="noopener noreferrer"&gt;docs/search-tuning.md&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we are the team that builds Clay UI. This article was written with help from Claude. The search output above is from a real run of Clay UI 0.5.0.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>react</category>
      <category>webdev</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
