Skip to content

morewings/react-library-template

Repository files navigation

CI Storybook deploy Use this template

React Library Template

NPM library Create React App template logo

With React Library Template Repository, you can focus on developing your React components and libraries without worrying about the configuration and setup.

Read full documentation.

Visit Demo Storybook.

Features

Quickstart

Prerequisites

  1. Install Node >= 18.x.
  2. Install pnpm. E.g. corepack prepare pnpm@latest --activate.

Installation

Manually clone repo or use degit.

# With CSS Modules config
npx degit github:morewings/react-library-template my-library
# With Tailwind CSS config
npx degit github:morewings/react-library-template#tailwind my-library
cd ./my-library
pnpm i

Enable Tailwind CSS

You can find all changes at this PR and tailwind branch.