Catalog npm
PACKAGE EXPLORERView in registry

3d-carousel-vanilla

npm

3d carousel js

3d carousel3d carousel js3d carousel vanila jscarouselsimple 3d carousel
Versions collected12
Direct dependencies1From release 1.0.12
Last observed20 Oct, 19:33 UTC

README

Current package documentation

preview

import { Carousel } from "3d-carousel-vanilla";

<div id="carousel">
	<div class="carousel-container">
		<div class="carousel-item">Slide 1</div>
		<div class="carousel-item">Slide 2</div>
		<div class="carousel-item">Slide 3</div> 
		<div class="carousel-item">Slide 4</div> 
		<div class="carousel-item">Slide 5</div> 
	</div>
</div>

Example

const carousel = new Carousel('#carousel',{
  container: '.carousel-container',
  items:'.carousel-item',
  step: 1,
  firstSlide: 0,
  scale: 0.5,
  opacity: 1,
  autoplay: 3000,
  transition: 0.3,
  context:{
    contextX: 1,
    contextY: 0.6,
  },
});
const carousel = new Carousel('#carousel',{
    container: '.carousel-container'
    items:'.carousel-item',
});

container - slided wrapper

container: 'your class name'

items - Required parameter for searching slides

items:'your class'

firstSlide - Parameter allows you to set the number of the initial slide (default 0)

autoplay - Delay between transitions (in ms). If this parameter is not specified, auto play will be disabled autoplay: 3000

step - Number of slides per scrolling

step: 1

transition - time between two states of an element (default: 0.3) in sec.

context - Props for perspective (from -1 to 1)

context: { contextX: 1, contextY: 0.6, }

scale - minimum value for scale (default 1)

opacity - minimum value for opacity (default 1)

resetDefaultStyles - reser all default styles (default: false)

METHODS

init() - initialize carousel

destroy() - destroy carousel

autoplay(value) - initialize autoplay

stopAutoplay() - stop autoplay

getActiveItem() - get active slide

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 12

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.12Registry latest4 Sept 20241
1.0.114 Sept 20241
1.0.104 Sept 20241
1.0.920 Jan 20231
1.0.820 Jan 20231
1.0.720 Jan 20231
1.0.614 Dec 20221
1.0.514 Dec 20221
1.0.414 Dec 20221
1.0.314 Dec 20221
1.0.214 Dec 20221
1.0.114 Dec 20221

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

ACCESSIBLE
dmytrokravchuk/3dcarousel

Shared repository data · GitHub

License detected in repository
Not collected
Last push
20 Jan 2023
Archived
No
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

0count
Gauge · observed snapshots21 Oct 2026
10.50
2026-10-21: 0 · observed 2026-10-21T16:39:00.9336929Z
21 Oct21 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2102026-10-21T16:39:00.9336929Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:184ee9eb1964e45304bdbe8212ab2f29dc6e2e98f7a1f51ed2812aeeee092428