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

@manufosela/multi-carousel

v2.0.0

Published

Responsive multi-slide carousel web component with navigation and arrows

Readme

@manufosela/multi-carousel

Responsive multi-slide carousel web component with navigation and arrows. Built with Lit.

Installation

npm install @manufosela/multi-carousel

Usage

import '@manufosela/multi-carousel';
<multi-carousel>
  <div>Slide 1</div>
  <div>Slide 2</div>
  <div>Slide 3</div>
</multi-carousel>

Features

  • Smooth CSS transitions
  • Navigation dots and arrows
  • Keyboard navigation (arrow keys)
  • Autoplay support
  • Loop/no-loop modes
  • Carousel sync (master/slave)
  • Touch-friendly
  • Fully accessible (ARIA)
  • CSS custom properties for theming

Attributes

| Attribute | Type | Default | Description | | ------------- | ------- | ------- | ---------------------------------- | | current | Number | 0 | Current slide index (0-based) | | autoplay | Number | 0 | Auto-advance interval in ms | | show-nav | Boolean | true | Show navigation dots | | show-arrows | Boolean | true | Show prev/next arrows | | loop | Boolean | true | Loop slides infinitely | | master | Boolean | false | Act as master for sync | | master-id | String | '' | ID of master carousel to sync with |

Methods

| Method | Description | | ------------ | ------------------------ | | next() | Go to next slide | | prev() | Go to previous slide | | goTo(index)| Go to specific slide |

Events

| Event | Detail | Description | | -------------- | ------------------- | ------------------------ | | slide-change | { index, total } | Fired when slide changes |

Autoplay

<!-- Auto-advance every 3 seconds -->
<multi-carousel autoplay="3000">
  <div>Slide 1</div>
  <div>Slide 2</div>
</multi-carousel>

Synced Carousels

Sync multiple carousels together:

<!-- Master carousel -->
<multi-carousel id="main" master>
  <img src="photo1.jpg" />
  <img src="photo2.jpg" />
</multi-carousel>

<!-- Synced thumbnail carousel -->
<multi-carousel master-id="main">
  <img src="thumb1.jpg" />
  <img src="thumb2.jpg" />
</multi-carousel>

Keyboard Navigation

Focus the carousel (click or Tab) then use:

  • ArrowRight: Next slide
  • ArrowLeft: Previous slide

CSS Custom Properties

| Property | Default | Description | | --------------------------- | ---------------------- | ------------------ | | --carousel-width | 100% | Carousel width | | --carousel-height | 300px | Carousel height | | --carousel-bg | #f8fafc | Background color | | --carousel-radius | 12px | Border radius | | --carousel-transition | 0.4s | Slide transition | | --carousel-nav-color | #94a3b8 | Dot color | | --carousel-nav-active | #3b82f6 | Active dot color | | --carousel-nav-bg | rgba(255,255,255,0.8)| Nav background | | --carousel-arrow-color | #64748b | Arrow color | | --carousel-arrow-bg | rgba(255,255,255,0.9)| Arrow background | | --carousel-focus-color | #3b82f6 | Focus ring color |

Styling Example

multi-carousel {
  --carousel-height: 400px;
  --carousel-bg: #1e293b;
  --carousel-nav-active: #ec4899;
  --carousel-arrow-bg: rgba(0, 0, 0, 0.5);
  --carousel-arrow-color: white;
}

Slide Content

Slides can contain any HTML:

<multi-carousel>
  <div class="slide">
    <img src="image.jpg" alt="Photo" />
    <h3>Caption</h3>
  </div>
  <div class="slide">
    <video src="video.mp4" controls></video>
  </div>
</multi-carousel>

License

MIT