๐ŸŒ
GitHub
github.com โ€บ rjvim โ€บ react-component-library-starter
GitHub - rjvim/react-component-library-starter: A component library template for React. Docs, Versioning & Release Notes
React Component Library Starter (RCLS) is a template designed to streamline the creation and management of component libraries. This starter kit uses Docusaurus for documentation and integrates "auto" for versioning and automated releases, making ...
Author ย  rjvim
๐ŸŒ
MUI
mui.com
MUI: The React component library you always wanted
MUI provides a simple, customizable, and accessible library of React components. Follow your own design system, or start with Material Design.
Discussions

Building a Modern React Library Starter โ€“ A Quick Guide!
Thanks for this. I was looking for something like this. I will use this in my next project. More on reddit.com
๐ŸŒ r/reactjs
2
5
November 9, 2024
Built a React Component Library Starter
This looks like a great project! Thanks for sharing. I am currently trying to a build a "component library" with custom styled MUI components and Storybook for documentation. I think your project will teach me a lot about versioning and publishing process as I am severely lacking on CI/CD part. More on reddit.com
๐ŸŒ r/opensource
6
2
February 14, 2025
Component Library Recommendations
Material UI will be the best as you mentioned Table , the MUI Datagrid is well designed and feature rich More on reddit.com
๐ŸŒ r/reactjs
15
4
July 8, 2024
Best Component Library for Reactjs with Typescript
Radix UI or for a bit more styling Shad-cn More on reddit.com
๐ŸŒ r/reactjs
22
13
September 3, 2024
๐ŸŒ
Medium
medium.com โ€บ @eklavya_ โ€บ complete-starter-kit-for-building-and-publishing-react-component-libraries-7d81ab04806a
Complete Starter Kit for Building and Publishing React Component Libraries | by Gunjan Kalita | Medium
December 20, 2024 - In this blog, we introduce a React library template that simplifies the entire process. This template not only provides a solid foundation for publishing React components to npm but also comes bundled with a Vite-powered React app for seamless development and testing.
๐ŸŒ
Reddit
reddit.com โ€บ r/reactjs โ€บ building a modern react library starter โ€“ a quick guide!
r/reactjs on Reddit: Building a Modern React Library Starter โ€“ A Quick Guide!
November 9, 2024 -

Hey devs! ๐Ÿ‘‹

Just wrote a quick guide on my blog for anyone looking to build a React library starter template from scratch. It covers setting up TypeScript, Vite, SWC, Rollup and more to get you production-ready fast!

Check it out and let me know what you think โ€“ feedback is always welcome!

Link to the github repo: https://github.com/Abhirup-99/react-library-starter-template

A modern starter template for building React libraries using SWC, TypeScript, and Rollup. Created due to the lack of existing templates that combine SWC's speed with Rollup's efficient bundle optimization.

โšก๏ธ SWC for ultra-fast compilation

๐Ÿ“ฆ Rollup for optimal bundling

๐Ÿ”ท TypeScript support

๐ŸŽฏ Generates CJS and ESM builds

๐Ÿ’ช Type definitions included

๐Ÿ” Source maps support

๐Ÿ“„ MIT License

๐ŸŒ
DEV Community
dev.to โ€บ receter โ€บ how-to-create-a-react-component-library-using-vites-library-mode-4lma
Create a Component Library Fast๐Ÿš€(using Vite's library mode) - DEV Community
April 14, 2025 - If you have never worked with Vite, think of it as a replacement for Create React App. Just a few commands and you are ready to go. npm create vite@latest ? Project name: โ€บ my-component-library ? Select a framework: โ€บ React ?
๐ŸŒ
GitHub
github.com โ€บ thepeaklab โ€บ react-component-library-starter
GitHub - thepeaklab/react-component-library-starter
Contribute to thepeaklab/react-component-library-starter development by creating an account on GitHub.
Starred by 37 users
Forked by 22 users
Languages ย  JavaScript 62.4% | TypeScript 37.6% | JavaScript 62.4% | TypeScript 37.6%
Find elsewhere
๐ŸŒ
Untitled UI
untitledui.com โ€บ react
Untitled UI React โ€” React UI Component Library
Every React component is meticulously-crafted and updated with Untitled UI Figma. Keep design and code perfectly in sync, with free updates for life. ... Add components effortlessly with a single command using our custom CLI. Launch faster with pre-configured starter kitsโ€”designed for real-world apps, not demos.
๐ŸŒ
GitHub
github.com โ€บ scalable-react โ€บ react-library-starter
GitHub - scalable-react/react-library-starter: A react library starter project for quickly getting started with an npm library or module
Develop components within the src directory. Make sure to export the ones you want in your library from src/index.js ยท Set your libraries name within the root level webpack configuration file's output object and in the package.json. output: { path: path.resolve(__dirname, 'dist'), filename: 'index.js', library: 'react-library-starter', // your library's name goes here libraryTarget: 'umd', umdNamedDefine: true, },
Starred by 5 users
Forked by 2 users
Languages ย  JavaScript 95.1% | HTML 4.9% | JavaScript 95.1% | HTML 4.9%
๐ŸŒ
LogRocket
blog.logrocket.com โ€บ home โ€บ how to build a component library with react and typescript
How to build a component library with React and TypeScript - LogRocket Blog
November 6, 2024 - The above command initializes a new React application by creating a new project structure, setting up essential configurations, and installing dependencies for a smooth development experience. When designing the architecture of our component library, it is essential to consider these best practices:
๐ŸŒ
GitHub
github.com โ€บ rayyamhk โ€บ vite-react-component-library-starter
GitHub - rayyamhk/vite-react-component-library-starter: Starter template for React component library ยท GitHub
This is a starter template for creating React component libraries using Vite.
Starred by 68 users
Forked by 12 users
Languages ย  TypeScript 97.5% | Shell 2.0% | CSS 0.5%
๐ŸŒ
DEV Community
dev.to โ€บ hosseinyazdi โ€บ 18-best-ui-component-libraries-for-react-3iee
18 Best UI Component Libraries for React - DEV Community
January 31, 2025 - A free and fully customizable component library starter for React and Tailwind, designed to accelerate UI development.
๐ŸŒ
Prateeksurana
prateeksurana.me โ€บ blog โ€บ react-component-library-using-storybook-7
Creating a React component library using Storybook 7
May 14, 2023 - Learn how to build a React component library using Storybook 7 and TypeScript, compile it with Rollup and publish it.
๐ŸŒ
GitHub
github.com โ€บ MidoAhmed โ€บ rollup-react-library-starter
GitHub - MidoAhmed/rollup-react-library-starter: Template and quick-starter to create modern React library using Rollup. ยท GitHub
Template and quick-starter to create modern React library using Rollup. - MidoAhmed/rollup-react-library-starter
Starred by 50 users
Forked by 9 users
Languages ย  JavaScript 50.8% | TypeScript 41.8% | CSS 6.9% | SCSS 0.5%
๐ŸŒ
DEV Community
dev.to โ€บ alexeagleson โ€บ how-to-create-and-publish-a-react-component-library-2oe
How to Create and Publish a React Component Library - DEV Community
December 5, 2022 - You will be updating the field "name" value and adding a new field called "publishConfig". Note the values above in caps are meant to be replaced with your own values. For example my "name" field value would be @alexeagleson/template-react-component-library.
๐ŸŒ
GitHub
github.com โ€บ rhaicode โ€บ react-library-starter
GitHub - rhaicode/react-library-starter: A library starter kit and bundler for your React projects, powered by Rollup. โšก
December 15, 2020 - โšก A library starter kit and bundler for your React projects, powered by Rollup. React with TypeScript support ยท Rollup for bundling (with a customizable bundler config file) Babel for transpiling ยท Storybook for development and component ...
Starred by 24 users
Forked by 4 users
Languages ย  JavaScript 67.1% | TypeScript 30.4% | CSS 2.5% | JavaScript 67.1% | TypeScript 30.4% | CSS 2.5%
๐ŸŒ
Shadcn
shadcn.io
The AI-Native shadcn/ui Component Library for React
Build faster with thousands of production-ready shadcn/ui blocks and components. Designed for AI-assisted React and Tailwind development.
๐ŸŒ
Reddit
reddit.com โ€บ r/opensource โ€บ built a react component library starter
r/opensource on Reddit: Built a React Component Library Starter
February 14, 2025 -

Hey folks! ๐Ÿ‘‹

Link to Github

I've been building React components for different projects, and every time I started a new library, I had to go through the same setup - docs, versioning, releases, etc. And honestly I struggle with tooling of javascript with so many options. So, I took some time and wanted to solve this problem for myself, create something I can rely on.

It might seem like "yet another starter kit", but I tried using kits on Github, but couldn't find something which solved all my needs.

So I made this starter kit that handles stuff like:

  • Building Typescript (Uses Vite Lib Mode)

  • Uses Tailwind V3 (Will add on Tailwind V4 soon)

  • Docusaurus for documentation (Publishes to Github pages)

  • Auto for versioning and release notes (Releases docs too)

  • Canary releases for testing

  • Uses conventional commits

  • Is Tree Shakeable

The template is ready to use - just clone, configure and start building your components. I wrote an article about building it from scratch if you want to understand how it works (attached in repo), good learning experience.

Hope this helps someone else save some time! Let me know if you have questions.

This is a monorepo which has two packages:

  1. Component Library

  2. Documentation Site

I am running vite in dev mode while developing the package, and then publishing a canary build. And then I am installing that into docusaurus, and using for demos.

I am working on Responsive Preview component using the above starter kit, hope to publish soon.

Edit [13th Feb 2025]

Just updated! Added support for Tailwind CSS v4 in a new package

Now includes:

  • packages/elements-tw-v4: component library with Tailwind v4

  • packages/elements: component library with Tailwind v3

  • apps/docs: Docusaurus documentation site