
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
taughtcode-hero-carousel
Advanced tools
A sleek, responsive, and easy-to-use image carousel component for React, beautifully styled with TailwindCSS.
A minimal, responsive, and customizable image carousel component built for React — with clean, vanilla CSS and no dependency on any framework or UI library (not even Tailwind).
Perfect for landing pages, portfolios, slideshows, and anywhere you need to show off a sleek image rotation.
✅ Lightweight and dependency-free ✅ Responsive design ✅ Navigation arrows (← / →) ✅ Dots for current slide indicator ✅ Autoplay with customizable interval ✅ Fully customizable via your own CSS ✅ Works in all modern browsers
npm taughtcode-hero-carousel
Or with yarn:
yarn add taughtcode-hero-carousel
import Carousel from "taughtcode-hero-carousel";
import "taughtcode-hero-carousel/src/carousel.css"; // Import styles
const images = [
"/images/slide1.jpg",
"/images/slide2.jpg",
"/images/slide3.jpg",
];
<Carousel
images={images}
autoPlay={true}
interval={4000}
showDots={true}
showArrows={true}
/>;
Images must be placed inside the
public/folder of your React project. Example:
your-project/
├── public/
│ └── images/
│ ├── slide1.jpg
│ ├── slide2.jpg
│ └── slide3.jpg
Using public paths like "/images/slide1.jpg" ensures the carousel loads correctly without bundler issues. Relative src/assets imports won't work unless you add extra handling for it.
| Prop | Type | Default | Description |
|---|---|---|---|
images | string[] | [] | Array of image URLs |
autoPlay | boolean | false | Automatically cycle through images |
interval | number | 3000 | Delay between auto slides (in milliseconds) |
showDots | boolean | true | Show small indicator dots below the carousel |
showArrows | boolean | true | Show next/prev navigation arrows |
carousel.css) — feel free to override any class using your own styles.carousel- to avoid conflicts.MIT — use it freely, modify it, or contribute back 🙌 If you found it useful, consider starring the repo ⭐
Open to ideas, improvements, and contributions! Open a pull request or reach out on LinkedIn if you’d like to collaborate on cool frontend projects! 🔥
FAQs
A sleek, responsive, and easy-to-use image carousel component for React, beautifully styled with TailwindCSS.
We found that taughtcode-hero-carousel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.