<?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: Omkar Warik</title>
    <description>The latest articles on DEV Community by Omkar Warik (@omkar_warik_1d3b683cf6e06).</description>
    <link>https://dev.to/omkar_warik_1d3b683cf6e06</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%2F1797658%2F38371849-b7e1-40e6-9f34-507227b50351.png</url>
      <title>DEV Community: Omkar Warik</title>
      <link>https://dev.to/omkar_warik_1d3b683cf6e06</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/omkar_warik_1d3b683cf6e06"/>
    <language>en</language>
    <item>
      <title>I published my first npm package — stark, a small React component library</title>
      <dc:creator>Omkar Warik</dc:creator>
      <pubDate>Fri, 10 Jul 2026 15:10:07 +0000</pubDate>
      <link>https://dev.to/omkar_warik_1d3b683cf6e06/i-published-my-first-npm-package-stark-a-small-react-component-library-16eo</link>
      <guid>https://dev.to/omkar_warik_1d3b683cf6e06/i-published-my-first-npm-package-stark-a-small-react-component-library-16eo</guid>
      <description>&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%2Frv7i70yvhjawonc0kpdq.gif" 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%2Frv7i70yvhjawonc0kpdq.gif" alt=" " width="631" height="404"&gt;&lt;/a&gt;I just published stark, a small React + TypeScript component library, as my first npm package. Sharing it here mostly because I learned a ton building and shipping it, and I'm hoping it's useful (or at least interesting) to other devs.&lt;br&gt;
What it is&lt;br&gt;
stark is a set of four ready-to-use React components:&lt;/p&gt;

&lt;p&gt;DynamicIslandNavbar — an animated, iOS-style dynamic island navbar&lt;br&gt;
FAQAccordion — a clean accordion for FAQ sections&lt;br&gt;
DropdownMenu — a lightweight, customizable dropdown&lt;br&gt;
FileDownloadButton — a button component for triggering file downloads&lt;/p&gt;

&lt;p&gt;Install&lt;br&gt;
&lt;code&gt;npm install @omkarwarik1204/stark&lt;/code&gt;&lt;br&gt;
Why I built it&lt;br&gt;
I kept rebuilding the same handful of UI patterns across my own projects (portfolio, dashboards, etc.), so I decided to package them properly instead of copy-pasting code every time. It also felt like a good excuse to learn how npm publishing actually works end to end.&lt;br&gt;
What I learned&lt;/p&gt;

&lt;p&gt;Building a library with Vite's library mode instead of a regular app build&lt;br&gt;
Generating and fixing TypeScript declaration files (.d.ts) — this tripped me up more than I expected&lt;br&gt;
Structuring components for tree-shaking so consumers only bundle what they use&lt;br&gt;
The actual npm publish workflow — versioning, package.json fields like main/module/types, .npmignore&lt;/p&gt;

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

&lt;p&gt;Writing proper docs (thinking a small docs site)&lt;br&gt;
Adding more components&lt;br&gt;
Improving TypeScript prop typing / JSDoc comments&lt;/p&gt;

&lt;p&gt;Feedback welcome&lt;br&gt;
This is my first published package, so if you try it out — bugs, API suggestions, "why did you do it this way" — I'd genuinely love to hear it.&lt;br&gt;
🔗&lt;a href="https://www.npmjs.com/package/@omkarwarik1204/stark" rel="noopener noreferrer"&gt;npm&lt;/a&gt;&lt;br&gt;
🔗 &lt;a href="https://github.com/omkarwarik02?tab=overview&amp;amp;from=2026-01-01&amp;amp;to=2026-01-12" rel="noopener noreferrer"&gt;Github&lt;/a&gt;&lt;/p&gt;

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