<?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: veloxsoft-web</title>
    <description>The latest articles on DEV Community by veloxsoft-web (@velox-web).</description>
    <link>https://dev.to/velox-web</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3710634%2F9380426a-329c-4545-aff2-2e0246adbafb.png</url>
      <title>DEV Community: veloxsoft-web</title>
      <link>https://dev.to/velox-web</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/velox-web"/>
    <language>en</language>
    <item>
      <title>🍱 How to build a Responsive Bento Grid with Tailwind CSS (No Masonry.js)</title>
      <dc:creator>veloxsoft-web</dc:creator>
      <pubDate>Wed, 21 Jan 2026 09:02:00 +0000</pubDate>
      <link>https://dev.to/velox-web/how-to-build-a-responsive-bento-grid-with-tailwind-css-no-masonryjs-3f2c</link>
      <guid>https://dev.to/velox-web/how-to-build-a-responsive-bento-grid-with-tailwind-css-no-masonryjs-3f2c</guid>
      <description>&lt;p&gt;Everyone wants a "Bento Grid" portfolio these days. It’s the design style popularized by Apple and Linear: a grid of boxes, high information density, and sleek rounded corners.&lt;/p&gt;

&lt;p&gt;But building one that actually works on mobile is a headache.&lt;/p&gt;

&lt;p&gt;Usually, developers reach for heavy JavaScript libraries like Masonry.js to handle the layout. But I wanted a portfolio that scores 100/100 on Lighthouse, so I decided to build it using pure CSS and Tailwind.&lt;/p&gt;

&lt;p&gt;Here is how I solved the responsive puzzle.&lt;/p&gt;

&lt;p&gt;The Problem: The "Swiss Cheese" Effect&lt;br&gt;
When you use a standard CSS Grid with items of different sizes (some spanning 2 rows, some spanning 2 columns), you often end up with ugly gaps in your layout—especially when resizing the window.&lt;/p&gt;

&lt;p&gt;The Solution: grid-auto-flow: dense&lt;br&gt;
The magic property that solves 90% of Bento layouts is dense. This tells the browser to fill in the holes in the grid with smaller items if they fit, even if it changes the visual order slightly.&lt;/p&gt;

&lt;p&gt;Here is the Tailwind implementation I used for my portfolio:&lt;/p&gt;

&lt;p&gt;// The Main Container&lt;/p&gt;

&lt;p&gt;{/* The items go here */}&lt;/p&gt;

&lt;p&gt;Key Breakdown:&lt;/p&gt;

&lt;p&gt;grid-cols-1: On mobile, it's just a vertical feed (one column). No complex reordering needed.&lt;/p&gt;

&lt;p&gt;md:grid-cols-3: On tablets and desktops, it expands to a 3-column grid.&lt;/p&gt;

&lt;p&gt;auto-rows-[250px]: This forces every row to have a fixed height, making the calculation of "tall" items (spanning 2 rows) predictable.&lt;/p&gt;

&lt;p&gt;Handling the "Span" Items&lt;br&gt;
To make it look like a Bento box, some items need to be bigger. I created a reusable component that accepts colSpan and rowSpan props.&lt;/p&gt;

&lt;p&gt;// Inside your Card Component&lt;/p&gt;

&lt;p&gt;{children}&lt;/p&gt;

&lt;p&gt;Why Avoid Flexbox for this?&lt;br&gt;
I tried Flexbox first. The problem with Flexbox is that it doesn't align items on both the X and Y axis simultaneously. You end up with columns of uneven height. CSS Grid is the only way to get that perfect "aligned" Bento look without using JavaScript to calculate positions.&lt;/p&gt;

&lt;p&gt;Performance Result&lt;br&gt;
By avoiding client-side libraries for layout:&lt;/p&gt;

&lt;p&gt;0 Layout Shift (CLS) on load.&lt;/p&gt;

&lt;p&gt;Javascript bundle size remains minimal.&lt;/p&gt;

&lt;p&gt;SEO: Google reads the content perfectly because it's just HTML divs.&lt;/p&gt;

&lt;p&gt;Conclusion&lt;br&gt;
You don't need complex libraries to build modern layouts. CSS Grid has matured enough to handle the "Bento" style natively.&lt;/p&gt;

&lt;p&gt;👋 By the way...&lt;/p&gt;

&lt;p&gt;I spent the weekend polishing this system into a reusable Next.js template (Dark mode, animations, and responsive components included).&lt;/p&gt;

&lt;p&gt;If you want to save time and just grab the code, you can check it out here: &lt;a href="https://veloxweb.gumroad.com/l/launch-ui" rel="noopener noreferrer"&gt;https://veloxweb.gumroad.com/l/launch-ui&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Otherwise, happy coding!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>ai</category>
      <category>javascript</category>
    </item>
    <item>
      <title>700 views vs 8% conversion: Why I redesigned my Next.js site to a Bento Grid (Day 3)</title>
      <dc:creator>veloxsoft-web</dc:creator>
      <pubDate>Tue, 20 Jan 2026 09:18:47 +0000</pubDate>
      <link>https://dev.to/velox-web/700-views-vs-8-conversion-why-i-redesigned-my-nextjs-site-to-a-bento-grid-day-3-45o6</link>
      <guid>https://dev.to/velox-web/700-views-vs-8-conversion-why-i-redesigned-my-nextjs-site-to-a-bento-grid-day-3-45o6</guid>
      <description>&lt;h2&gt;
  
  
  The Reality Check 📉
&lt;/h2&gt;

&lt;p&gt;I'm 3 days into my "Building in Public" challenge. Yesterday, the algorithm blessed me: 700+ views on my update video.&lt;/p&gt;

&lt;p&gt;I thought: &lt;em&gt;"This is it. Sales are coming."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The reality?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;60 actual visitors to the store.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;8% conversion rate.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The traffic was there, but the retention wasn't. My landing page was leaking users. It looked generic.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Pivot: Bento Grids 🍱
&lt;/h2&gt;

&lt;p&gt;I decided to go to war with my own design. I looked at what top-tier dev tools (like Linear or Vercel) are doing. The pattern is clear: &lt;strong&gt;Bento Grids&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It organizes complex info into digestible "boxes". It feels premium.&lt;/p&gt;

&lt;p&gt;So, I fired up VS Code, nuked my old layout, and started fresh with &lt;strong&gt;Next.js 14&lt;/strong&gt; and &lt;strong&gt;Tailwind CSS&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Code (How I built it)
&lt;/h2&gt;

&lt;p&gt;The magic of Bento Grids in Tailwind is mastering &lt;code&gt;grid-cols&lt;/code&gt; and &lt;code&gt;col-span&lt;/code&gt;. Here is a simplified version of the main grid structure I deployed:&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="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="nf"&gt;BentoGrid&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="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"grid grid-cols-1 md:grid-cols-4 gap-4 max-w-4xl mx-auto p-4"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;

      &lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="cm"&gt;/* Hero Box - Spans 2 columns */&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"col-span-1 md:col-span-2 row-span-2 bg-neutral-900 border border-neutral-800 rounded-xl p-6 flex flex-col justify-between"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;h1&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text-4xl font-bold text-white"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;The Ultimate Kit&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;h1&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text-gray-400"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Boost your workflow instantly.&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;

      &lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="cm"&gt;/* Feature A */&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"bg-neutral-900 border border-neutral-800 rounded-xl p-6"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;span&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text-3xl"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;🚀&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;span&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;h3&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"font-bold mt-2 text-white"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Next.js Ready&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;h3&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;

      &lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="cm"&gt;/* Feature B */&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"bg-neutral-900 border border-neutral-800 rounded-xl p-6"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;span&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text-3xl"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;🎨&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;span&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;h3&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"font-bold mt-2 text-white"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Tailwind CSS&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;h3&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;

      &lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="cm"&gt;/* Pricing Box - High Contrast */&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"col-span-1 md:col-span-2 bg-indigo-600 rounded-xl p-6 flex items-center justify-between cursor-pointer hover:bg-indigo-700 transition"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
           &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;h3&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text-white font-bold text-lg"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Get it now&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;h3&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
           &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text-indigo-200 text-sm"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Limited offer&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;span&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text-3xl font-bold text-white"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;€3&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;span&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;

    &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;div&lt;/span&gt;&lt;span class="p"&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;The Pricing Strategy 🏷️&lt;br&gt;
To test if the friction was purely design or also monetary, I made a bold move: I set the price to €3.&lt;/p&gt;

&lt;p&gt;It's the "no-brainer" zone. Less than a coffee.&lt;/p&gt;

&lt;p&gt;What's Next?&lt;br&gt;
I just deployed the new version. I'm tracking two things:&lt;/p&gt;

&lt;p&gt;Click-through rate on the Grid elements.&lt;/p&gt;

&lt;p&gt;Final purchase conversion.&lt;/p&gt;

&lt;p&gt;If you are curious about the live result or want to support the challenge, you can check it here: &lt;a href="https://veloxweb.gumroad.com/l/launch-ui" rel="noopener noreferrer"&gt;https://veloxweb.gumroad.com/l/launch-ui&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Follow me for Day 4 metrics! 🚀&lt;/p&gt;

</description>
      <category>nestjs</category>
      <category>tailwindcss</category>
      <category>webdesign</category>
      <category>buildinpublic</category>
    </item>
    <item>
      <title>Stop wasting time on Landing Pages: My Next.js + Tailwind Boilerplate</title>
      <dc:creator>veloxsoft-web</dc:creator>
      <pubDate>Mon, 19 Jan 2026 09:37:10 +0000</pubDate>
      <link>https://dev.to/velox-web/stop-wasting-time-on-landing-pages-my-nextjs-tailwind-boilerplate-9i</link>
      <guid>https://dev.to/velox-web/stop-wasting-time-on-landing-pages-my-nextjs-tailwind-boilerplate-9i</guid>
      <description>&lt;p&gt;Hi everyone, I'm documenting my journey from developer to founder. Yesterday I launched a tool and got exactly 0 sales. It hurt.&lt;/p&gt;

&lt;p&gt;I realized I spent 48h fighting with CSS and design instead of marketing. So, to fix my own problem (and stop procrastinating), I spent last night building a reusable Next.js Landing Page Boilerplate with a Bento Grid layout.&lt;/p&gt;

&lt;p&gt;Now I can spin up a new SaaS landing page in minutes, not days.&lt;/p&gt;

&lt;p&gt;I put it on Gumroad for $9 to fund my coffee addiction, but I'd love your feedback on the code structure if anyone wants to check it out.&lt;/p&gt;

&lt;p&gt;URL:&lt;br&gt;
&lt;a href="https://veloxweb.gumroad.com/l/launch-ui" rel="noopener noreferrer"&gt;https://veloxweb.gumroad.com/l/launch-ui&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  nextjs #react #webdev #productivity
&lt;/h1&gt;

</description>
    </item>
  </channel>
</rss>
