New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-tech-slider

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tech-slider

Reusable React component slider for showcasing brands

latest
Source
npmnpm
Version
1.8.23
Version published
Weekly downloads
25
-26.47%
Maintainers
1
Weekly downloads
 
Created
Source

📛 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

PropTypeRequiredDefaultDescription
brandsListBrand[]Array of brands to render
borderColorstring#7c05d8Top/bottom border color (#hex or CSS color)
backgroundColorstring#00000033Background color (#hex, rgba, etc.)
borderWidthnumber1Border thickness in pixels
iconWidthnumberWidth of icons (in rem) — applied globally if individual width is not defined
isPlaybooleantrueWhether the animation is running (true) or paused (false)
pauseOnHoverActivebooleanfalseIf true, the animation pauses on hover
durationMsnumber30000Time 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

Keywords

react

FAQs

Package last updated on 11 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts