react-rollup-boilerplate

Boilerplate for creating React component libraries, bundled with Rollup.js to ESM and/or CJS Modules, Storybook, Typescript

reactboilerplatelibrarytypescriptreactjsrollupstorybookboilerplatesrollup-exampleboilerplate-front-endrollup-jsrollupjs

Preview

react-rollup-boilerplate preview

Overview

This is a React component library boilerplate that uses Rollup for bundling, TypeScript for type safety and Storybook for component documentation. It includes built-in support for SCSS styling, ESLint and Prettier for code formatting, Vitest for testing and tools to publish libraries to NPM or deploy Storybook to GitHub Pages.

Features

component-librarystorybook-integrationtypescript-supportscss-supportcss-moduleseslint-prettiervitest-testingrollup-bundlingnpm-publishing

Feature Flags

landingpagesearchtestinglintingstorybooktypeScriptcssModules

Recommended Use Cases

react-component-librarydesign-systemshared-componentsnpm-package-publishing

Frontend

reacttypescriptrollupstorybookscsseslintprettiervitest

Backend

None

Auth Providers

None

Deployment Targets

npmgithub-pages

Payment Providers

None

Quick Facts

โญ Stars
312
๐Ÿด Forks
68
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2025-07-30T17:57:56.000Z

Stack

Framework
react
Language
typescript
CSS
scss
Testing
vitest, testing-library
CI
yarn

Data Layer

UI Stack

Styling
scss
Components
react

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
No
CI
yarn

Pricing

Classification
free
Selected
โ€”
Notes
Open source boilerplate
Get Started with this Boilerplate