<?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: deepaksharma</title>
    <description>The latest articles on DEV Community by deepaksharma (@dsspec).</description>
    <link>https://dev.to/dsspec</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%2F4234910%2Fd3625c4b-52cc-41ed-8c3c-e7646b19e094.png</url>
      <title>DEV Community: deepaksharma</title>
      <link>https://dev.to/dsspec</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dsspec"/>
    <language>en</language>
    <item>
      <title>Build a Coding Agent Diff Review UI with shadcn/ui</title>
      <dc:creator>deepaksharma</dc:creator>
      <pubDate>Tue, 17 Nov 2026 12:56:13 +0000</pubDate>
      <link>https://dev.to/dsspec/build-a-coding-agent-diff-review-ui-with-shadcnui-11di</link>
      <guid>https://dev.to/dsspec/build-a-coding-agent-diff-review-ui-with-shadcnui-11di</guid>
      <description>&lt;p&gt;If you're building a coding agent UI, you need a diff review component sooner or later. The agent says "here's what I want to change", and somebody has to look at it before it touches the codebase. I built one as part of Detent and made it a free shadcn component. This post is how to drop it into your project and wire it to an agent.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj01wzv2ccq3f8sb5rkww.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj01wzv2ccq3f8sb5rkww.gif" alt="Diff review component: an AI agent's code changes stream in, two hunks are accepted, one is rejected, then the change is applied" width="720" height="606"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why not a &lt;code&gt;&amp;lt;pre&amp;gt;&lt;/code&gt; with red and green lines?
&lt;/h2&gt;

&lt;p&gt;That's where everyone starts, and it falls apart fast.&lt;/p&gt;

&lt;p&gt;Line numbers drift the moment a hunk has more additions than deletions. You want to accept one hunk and reject another, so now every hunk needs its own state. The agent streams, and the whole panel jumps as lines come in. Then someone asks for a split view. None of that is the product you're actually building.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install it
&lt;/h2&gt;

&lt;p&gt;It's one command, and the code lands in your project like any other shadcn component, so you can change whatever you want:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx shadcn@latest add https://detentui.com/r/diff
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You get &lt;code&gt;components/detent/components/diff/DiffReview.tsx&lt;/code&gt; and a few small helpers next to it. It picks up your shadcn theme. The only package it pulls in is &lt;code&gt;motion&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wire it to an agent
&lt;/h2&gt;

&lt;p&gt;The component wants the change as &lt;strong&gt;hunks&lt;/strong&gt;. A hunk is a chunk of the file, with each line marked &lt;code&gt;ctx&lt;/code&gt;, &lt;code&gt;add&lt;/code&gt; or &lt;code&gt;del&lt;/code&gt;. &lt;code&gt;o&lt;/code&gt; and &lt;code&gt;n&lt;/code&gt; are the line numbers it starts at in the old and new file.&lt;/p&gt;

&lt;p&gt;The other prop that matters is &lt;code&gt;shown&lt;/code&gt;: how many lines are visible right now. That's the whole streaming story. Bump it as lines arrive and the component animates them in.&lt;/p&gt;

&lt;p&gt;I don't want you to need an API key to try this, so here a timer plays the agent:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="s1"&gt;'use client'&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;useEffect&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;useState&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'react'&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;DiffReview&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nc"&gt;Hunk&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'@/components/detent/components/diff/DiffReview'&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;hunks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Hunk&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'limits'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;scope&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'LIMITS'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'ctx'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'export const LIMITS = {'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'del'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'  windowDays: 30,'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'add'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'  windowDays: 45,'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'ctx'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'}'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'approval'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;scope&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'needsApproval(order)'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;41&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;41&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'ctx'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'function needsApproval(order: Order) {'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'del'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'  return order.total &amp;gt; 1000'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'add'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'  return order.total &amp;gt; LIMITS.approvalOver'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'ctx'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'}'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;hunks&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;reduce&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nc"&gt;AgentChange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;shown&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;setShown&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;useState&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

  &lt;span class="nf"&gt;useEffect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;setInterval&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;setShown&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;clearInterval&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;DiffReview&lt;/span&gt;
      &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"Apply the Q3 refund rules"&lt;/span&gt;
      &lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"src/billing/refunds.ts"&lt;/span&gt;
      &lt;span class="n"&gt;hunks&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;hunks&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="n"&gt;shown&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;shown&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="n"&gt;onApply&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;verdicts&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;verdicts&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With a real model, &lt;code&gt;hunks&lt;/code&gt; comes out of a tool call (something like a &lt;code&gt;proposeEdit&lt;/code&gt; tool in the AI SDK) and &lt;code&gt;shown&lt;/code&gt; follows the stream. The component doesn't care where the lines come from.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the reviewer sees
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;While the agent writes&lt;/strong&gt;, lines drop into their hunk one at a time. The panel doesn't jump, which is harder to get right than it sounds.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When it's done&lt;/strong&gt;, every hunk waits for a decision. You can click Accept or Reject, or stay on the keyboard: &lt;code&gt;A&lt;/code&gt; accepts, &lt;code&gt;R&lt;/code&gt; rejects, &lt;code&gt;S&lt;/code&gt; flips between unified and split. Long lines read much better in split.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When you apply&lt;/strong&gt;, &lt;code&gt;onApply&lt;/code&gt; hands you one verdict per hunk:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;limits&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'accepted'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;approval&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'rejected'&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Write the accepted hunks to disk. Send the rejected ones back to the agent, so its next attempt knows what not to do.&lt;/p&gt;

&lt;p&gt;If you want your own controls, say a "Review next" button inside the chat, pass a &lt;code&gt;ref&lt;/code&gt;. It exposes &lt;code&gt;next()&lt;/code&gt;, &lt;code&gt;prev()&lt;/code&gt;, &lt;code&gt;accept()&lt;/code&gt;, &lt;code&gt;reject()&lt;/code&gt;, &lt;code&gt;toggleView()&lt;/code&gt; and &lt;code&gt;apply()&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is it worth it?
&lt;/h2&gt;

&lt;p&gt;Honestly, you can build this yourself. It just takes longer than it looks. The component is well over a thousand lines, mostly for the boring parts: keeping line numbers straight, the split view, and streaming that doesn't shake the page. If your product is the agent and not the diff viewer, the snippet above is all the code you need to own.&lt;/p&gt;




&lt;p&gt;Diff review is free and part of &lt;a href="https://detentui.com" rel="noopener noreferrer"&gt;Detent&lt;/a&gt;, a set of shadcn components I'm building for apps with AI agents in them. If you try it in your agent, I'd like to see it.&lt;/p&gt;

</description>
      <category>react</category>
      <category>shadcn</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I Finally Made Money From Something I Built ($0 to $152)</title>
      <dc:creator>deepaksharma</dc:creator>
      <pubDate>Mon, 09 Nov 2026 10:31:49 +0000</pubDate>
      <link>https://dev.to/dsspec/i-finally-made-money-from-something-i-built-0-to-152-17gb</link>
      <guid>https://dev.to/dsspec/i-finally-made-money-from-something-i-built-0-to-152-17gb</guid>
      <description>&lt;p&gt;I've been building side projects on weekends next to my job for years. Until this week every single one of them made $0. Not anymore haha.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;Detent is a React component library. The components install with shadcn and take your theme, so they drop into an existing app without fighting your styles. Some are free, and there's one paid tier with full blocks like onboarding flows and a support inbox.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happened
&lt;/h2&gt;

&lt;p&gt;I posted a 20 second video of the onboarding block on X with one line: "most onboarding is a checklist and a progress bar, but not at detent".&lt;/p&gt;

&lt;p&gt;That post did 19.7K views, 464 likes and 710 bookmarks. More bookmarks than likes, which I didn't even know was a thing tbh. My followers went from 365 to 439.&lt;/p&gt;

&lt;p&gt;And then 2 people actually bought it. $79 each, $152 after fees.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this one feels different
&lt;/h2&gt;

&lt;p&gt;My last product got a lot of "this is great, love the idea" and zero sales. Compliments are nice but they don't pay bills. This time two strangers put their card in for something I built.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Launch instead of polishing.&lt;/strong&gt; I almost kept tweaking for another week. The sales came from the shipped version, not the perfect one in my head.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Show it, don't explain it.&lt;/strong&gt; One line plus a video did 19.7K views. My next post explained a block in 4 lines with the link inside and did 258 views. Same product, same account.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Links go in the reply.&lt;/strong&gt; X pushes down posts with external links, so the link goes in the first comment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bookmarks aren't sales (yet).&lt;/strong&gt; 710 people saved it, 2 bought. I think most will come back when they start their next project, at least that's what I'm hoping.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;Product Hunt launch on Saturday, more blocks, and I'm still job hunting, because $152 doesn't pay rent. But it proves the thing can sell, and that's what I needed to know.&lt;/p&gt;

&lt;p&gt;If you want to see what they bought: &lt;a href="https://detentui.com?ref=devto" rel="noopener noreferrer"&gt;detentui.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm writing about the whole journey from $0 to (hopefully) $1M, so if you've been stuck at $0 with your own side project, tell me what you're building in the comments.&lt;/p&gt;

</description>
      <category>sideprojects</category>
      <category>webdev</category>
      <category>react</category>
      <category>buildinpublic</category>
    </item>
  </channel>
</rss>
