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

logos-carousel-react

v1.0.2

Published

A responsive customizable React carrousel, perfect for displaying logos or images.

Readme

logos-carousel-react

A fully responsive and customizable React carousel, ideal for showcasing logos, images, or other visual content. Features:

  • Smooth infinite scrolling.
  • Fully customizable via props.
  • Lightweight and easy to integrate.

Installation

Install the package using npm:

npm i logos-carousel-react

Prerequisites:

Ensure you are using React 16+ and React-DOM 16+.

Basic Usage

Import and use the LogosCarousel and CarouselItem components to build a carousel.

Example

import React from "react";
import { LogosCarousel, CarouselItem } from "logos-carousel-react";

const App = () => {
  return (
    <LogosCarousel>
      <CarouselItem src="logo1.png" alt="Logo 1" title="Logo 1" />
      <CarouselItem src="logo2.png" alt="Logo 2" title="Logo 2" />
      <CarouselItem src="logo3.png" alt="Logo 3" title="Logo 3" />
    </LogosCarousel>
  );
};

export default App;

Props for LogosCarousel

| Prop | Type | Default | Description | | ------------ | -------- | ------------- | ------------------------------------------------------------------------------ | | background | string | transparent | Carousel background color. Accepts values like #FFF, rgba(0,0,0,0.5), etc. | | width | number | 100 | Carousel width as a percentage (25, 50, 75, or 100). | | imgSize | number | 12.5 | Image height in rem. | | spacing | number | 3 | Spacing between images in rem. | | speed | number | N/A | Scrolling speed of the carousel. Possible values: 1, 2, 3, 4, 5. |

Example with Props

<LogosCarousel background="#333" width={75} imgSize={10} spacing={2} speed={3}>
  <CarouselItem src="logo.png" alt="Example Logo" />
</LogosCarousel>

Props for CarouselItem

| Prop | Type | Default | Description | | ------- | -------- | ------- | --------------------------------------------- | | src | string | N/A | The URL or path of the logo image. | | alt | string | N/A | Alt text for the image. | | title | string | N/A | Title displayed when hovering over the image. |

Custom Styling

The package includes a CSS file (logosCarousel.css) that provides the base styles for the carousel. You can override these styles in your project or extend them as needed.

Main Classes

  • carousel-container: The main container of the carousel.
  • carousel__logos: The inner container for scrolling images.
  • carousel__img: The class for individual logo images.

Notes

  1. If the number of items in the carousel is less than four, the component automatically duplicates the items to maintain smooth scrolling.
  2. The speed prop adjusts internal classes to control animation timing.
  3. Ensure your images are properly formatted and optimized for better performance.

If You Have Questions

If you have questions or need support, open an issue on the package repository.

Enjoy using logos-carousel-react! 🎠