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

react-vite-recommended-lists

v2.0.1

Published

A react vite component for recommended list options that can be dismissed, or take a custom action

Readme

react-vite-recommended-lists

About the Package 👋

The Recommended List App is a React application designed to display a list of items with interactive components. Each item is displayed in a card format, featuring a thumbnail image, a title, subtitle, and a button to perform an action. Users can also remove items from the list. This app showcases the use of React hooks, Material-UI components, and basic state management.

Demos & Previews 📹

You can find a demo of it here on Netlify or CodePen

(NOTE: As of Aug-28-2024, the links for demo and previews are broken and being reloaded as package is updated)

Here’s an example of how the component looks:

Recommended List App Screenshot

How to Install the Package 💿

To install this package:

npm i react-vite-recommended-lists

or

yarn add react-vite-recommended-lists

How to Use 📖

To use this package in your React repo, you'll first have to install the package (as shown above). Then follow the steps below:

  1. Import the component to your file:
import { RecommendedList } from "react-vite-recommended-lists";
  1. Create the RecommendedLists component with the necessary attributes:
<RecommendedList
  title="List Title"
  items={list}
  buttonText={"ButtonText"}
  buttonAction={() => console.log("Hello world!")}
/>

Together (in your component), they should look something like this:

"use client"; //if you're using NEXTJS
import { RecommendedList } from "react-vite-recommended-lists";

export default function Home() {
  const list = [
    {
      subheading: "Technology",
      title: "#AppleEvent",
      subtitle: "18.6K posts",
      thumbnail: "imgs/thumbnails/technology.png",
    }
    {
      subheading: "Fashion",
      title: "#OOTD",
      subtitle: "25.2K posts",
      thumbnail: "imgs/thumbnails/fashion.png",
    },
  ];
  return (
    <div>
      <div className="max-w-[600px]">
        <RecommendedList
          title="List Title"
          items={list}
          buttonText={"ButtonText"}
          buttonAction={() => console.log("Hello world!")}
        />
      </div>
    </div>
  );
}

How to Start Up the Repo 🚀

If you'd like to branch of or use the entire repo, follow these steps:

  1. Clone the repo:
git clone https://github.com/KayviaHarriott/react-vite-recommended-lists.git
  1. Install the dependecies:
npm i
  1. Start up the development:
npm run dev
  1. Open to see in your browser, which is usually on localhost:5173

Dependencies 🧱

This project relies on the following dependencies:

  • React: A JavaScript library for building user interfaces.
  • Material-UI: A popular React UI framework that provides pre-built components.
  • TypeScript (if used): A superset of JavaScript that adds static typing.