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-tech-slider

v1.8.23

Published

Reusable React component slider for showcasing brands

Readme

📛 react-tech-slider

A reusable and customizable React slider component to showcase brand logos or tech stacks with smooth infinite animation.
Perfect for portfolios, agency pages, SaaS websites, and more.


🚀 Installation

npm install react-tech-slider

🌐 Live Demo

👉 View Demo


✅ Basic Usage

import { Slider } from 'react-tech-slider';

const brands = [
  {
    id: 1,
    name: 'Nike',
    img: 'https://img.icons8.com/ios-filled/500/nike.png'
  },
  {
    id: 2,
    name: 'Adidas',
    img: 'https://img.icons8.com/ios/500/adidas-trefoil.png'
  },
  {
    id: 3,
    name: 'Jordan',
    img: 'https://img.icons8.com/ios/500/air-jordan.png'
  }
];

<Slider brandsList={brands} />

✨ Available Props

| Prop | Type | Required | Default | Description | |----------------------|---------------|----------|----------------|-------------| | brandsList | Brand[] | ✅ | — | Array of brands to render | | borderColor | string | ❌ | #7c05d8 | Top/bottom border color (#hex or CSS color) | | backgroundColor | string | ❌ | #00000033 | Background color (#hex, rgba, etc.) | | borderWidth | number | ❌ | 1 | Border thickness in pixels | | iconWidth | number | ❌ | — | Width of icons (in rem) — applied globally if individual width is not defined | | isPlay | boolean | ❌ | true | Whether the animation is running (true) or paused (false) | | pauseOnHoverActive | boolean | ❌ | false | If true, the animation pauses on hover | | durationMs | number | ❌ | 30000 | Time in milliseconds for one full animation loop |

Brand Interface

interface Brand {
  id: number;
  name: string;
  img: string;
  width?: number; // rem
  height?: number; // rem
  style?: React.CSSProperties; 
  className?: string;
}

🎨 Customization

  • Smooth infinite animation via pure CSS

  • Global or per-brand sizing flexibility

  • Edge fade-out using mask-image for visual polish

  • Pause-on-hover option for user interaction

  • Fully responsive layout

🧪 Fully Customized Example

<Slider 
  brandsList={brands}
  borderWidth={2}
  borderColor="#0cf"
  backgroundColor="#eef"
  iconWidth={6}
  isPlay={true}
  pauseOnHoverActive={true}
  durationMs={20000}
/>
  • You can also define per-item sizes, class and styles:
brandsList={[
  {
    id: 1,
    name: 'Nike',
    img: 'https://img.icons8.com/ios-filled/500/nike.png',
    width: 10,
    height: 10,
    style: { 'background-color': 'white' },
    className: 'nike-brand'
  },
  ...
]}
/>

📦 Build and Publish

npm run build
npm publish

🤝 Contributions

Pull requests and suggestions are welcome at
👉 https://github.com/T0N1-Dev/react-tech-slider

GitHub npm