DesignDev.io logoDesignDev.io logo

  1. Home
  2. /Tags
  3. /ui library

ui library

4 posts


Posts in this series

Sort by:
Publishing Your First React Component to npm — the Complete Setup

Publishing Your First React Component to npm — the Complete Setup

Most tutorials stop at "it works on my machine." This one doesn't. Publishing to npm is where your library becomes real — installable, versioned, and usable by anyone. Here's the complete setup, including the fields most developers get wrong in package.json and how to inspect what you're actually shipping before it goes live.

How to structure a UI library that scales — folders, exports, and naming conventions

How to structure a UI library that scales — folders, exports, and naming conventions

The folder structure you pick on day one is the one you'll live with across 40 components. Get it wrong and you'll be fighting your own codebase by article 10. Get it right and adding a new component takes five minutes and follows a pattern every contributor can learn in one sitting.

Setting Up a React Component Library with Vite, TypeScript, and Tailwind v4

Setting Up a React Component Library with Vite, TypeScript, and Tailwind v4

Before you write a single component, the project needs to be set up correctly — or you'll be fighting the build config the entire series. This article covers everything: Vite in library mode, TypeScript strict config, Tailwind v4, CVA, and a working entry point you can build and inspect.

Why I'm Building My Own React UI Library — and Why You Should Too

Why I'm Building My Own React UI Library — and Why You Should Too

Most developers have installed shadcn/ui or MUI, grabbed the components they needed, and moved on. That works — until it doesn't. This series is about building a React UI library from scratch, shipping it to npm, and actually understanding what you've built.

DesignDev.io logoDesignDev.io logo

All things design and code.

Explore

  • Home
  • Search
  • Authors
  • Series
  • About Us

Account

  • Sign in

Legal

  • Privacy Policy
  • Terms of Service

© 2026 DesignDev.io · All rights reserved

Built with Next.js · Tailwind · Sanity · Vercel