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

@ashishgogula/coverflow

v0.3.0

Published

Apple-style Cover Flow component for React

Readme

Cover Flow

Apple-style Cover Flow component for React, inspired by iOS.
Smooth 3D motion, keyboard + drag support, and zero layout shifts.

Installation

npm

npm install @ashishgogula/coverflow

pnpm

pnpm add @ashishgogula/coverflow

yarn

yarn add @ashishgogula/coverflow

bun

bun add @ashishgogula/coverflow

Requirements

React 18+

Tailwind CSS v3+

motion (installed automatically)

Usage

import { CoverFlow, CoverFlowItem } from "@ashishgogula/coverflow";

const items: CoverFlowItem[] = [
  { id: 1, image: "/images/1.jpg", title: "Sanemi Shinazugawa" },
  { id: 2, image: "/images/2.jpg", title: "Obanai Iguro" },
  { id: 3, image: "/images/3.jpg", title: "Mitsuri Kanroji" },
  { id: 4, image: "/images/4.jpg", title: "Giyu Tomioka" },
];

export default function Example() {
  return (
    <div className="h-[500px] w-full">
      <CoverFlow
        items={items}
        itemWidth={250}
        itemHeight={250}
        initialIndex={2}
        enableReflection
      />
    </div>
  );
}

Props

CoverFlow

| Prop | Type | Default | Description | |------|------|---------|-------------| | items | CoverFlowItem[] | — | Array of items to display | | itemWidth | number | 400 | Width of each card in pixels | | itemHeight | number | 400 | Height of each card in pixels | | stackSpacing | number | 100 | Spacing between stacked cards | | centerGap | number | 250 | Gap between the center card and the stack | | rotation | number | 50 | Rotation angle (in degrees) for stacked cards | | initialIndex | number | 0 | Index of the initially selected item | | enableReflection | boolean | false | Enable or disable reflection effect | | enableClickToSnap | boolean | true | Enable or disable clicking on items to snap them to the center. | | enableScroll | boolean | true | Enable or disable horizontal wheel scroll snapping. | | scrollThreshold | number | 100 | Wheel delta threshold required before snapping to next card. | | onItemClick | (item, index) => void | — | Callback when an item is clicked | | onIndexChange | (index) => void | — | Callback when the active index changes |

Features

Fluid Physics Engine

Keyboard First

Zero Layout Shift

Touch Ready

Dark Mode Native

Notes

Uses standard internally for full React compatibility

Tailwind CSS is required for styling

Demo

Live demo: https://coverflow.ashishgogula.in

License

MIT © Ashish Gogula

Built with Motion & Tailwind CSS