npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rafaellacerda/react19-vite-tailwindcss-shadcn-boilerplate

v0.0.0

Published

This is a boilerplate build with Vite, React 19, TypeScript, TailwindCSS, Shadcn and Eslint.

Readme

React 19 + Vite + Tailwind CSS + shadcn/UI Boilerplate

This boilerplate provides a robust starting point for building modern web applications using React 19, Vite, Tailwind CSS, shadcn/UI, and includes lazy loading for pages.

Features

  • React 19: Leverage the latest features of React for building dynamic user interfaces.
  • Vite: Experience a fast development environment with Vite's lightning-fast bundling and hot module replacement.
  • Tailwind CSS: Utilize a utility-first CSS framework for rapid UI development.
  • shadcn/UI: Incorporate a collection of accessible and customizable UI components.
  • Lazy Loading: Implement lazy loading for pages to optimize performance and reduce initial load time.
  • Sonner for Toast Notifications: Provides simple and customizable toast notifications.
  • Lucide-React for Icons: Integrates a powerful icon library for React.

Live Demo

Explore the live demo of this boilerplate: react19-vite-tailwindcss-shadcn.onrender.com

Getting Started

Follow these steps to set up the project locally:

  1. Clone the Repository:

    git clone https://github.com/rafaellacerda/react19-vite-tailwindcss-shadcn-boilerplate.git
    cd react19-vite-tailwindcss-shadcn-boilerplate
  2. Install Dependencies:

    Ensure you have pnpm installed, then run:

    pnpm install
  3. Start the Development Server:

    pnpm dev

    Access the application at http://localhost:5173.

Lazy Loading of Pages

This boilerplate includes an implementation of lazy loading for pages using React's React.lazy and Suspense to load page components on demand, improving application performance.

Example Usage:

import React, { Suspense } from "react";
const LazyPage = React.lazy(() => import("./pages/LazyPage"));

function App() {
  return (
    <Suspense fallback={<div>Loading...</div>}>
      <LazyPage />
    </Suspense>
  );
}

Project Structure

The project's structure is organized as follows:

└── react19-vite-tailwindcss-shadcn-boilerplate/
    ├── LICENSE
    ├── README.md
    ├── components.json
    ├── eslint.config.js
    ├── index.html
    ├── package.json
    ├── pnpm-lock.yaml
    ├── postcss.config.js
    ├── public
    │   ├── logo.svg
    │   └── robots.txt
    ├── src
    │   ├── assets
    │   ├── components
    │   ├── index.tsx
    │   ├── lib
    │   ├── pages
    │   ├── routes
    │   ├── styles
    │   └── vite-env.d.ts
    ├── tailwind.config.js
    ├── tsconfig.app.json
    ├── tsconfig.json
    ├── tsconfig.node.json
    ├── tsconfig.tsbuildinfo
    └── vite.config.ts

Available Scripts

  • pnpm dev: Runs the application in development mode.
  • pnpm build: Builds the application for production.
  • pnpm preview: Previews the production build locally.
  • pnpm lint: Lints the codebase using ESLint.

Dependencies

Key dependencies used in this project include:

  • React: Library for building user interfaces.
  • Vite: Next-generation frontend tooling.
  • Tailwind CSS: Utility-first CSS framework.
  • shadcn/UI: Accessible and customizable UI components.
  • Sonner: For toast notifications.
  • Lucide-React: For icons.

For a complete list, refer to the package.json file.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to enhance this boilerplate.

License

This project is licensed under the MIT License. See the LICENSE file for details.