Catalog npm
Back to packageRELEASE DETAILS

1.0.6

npm

3d-carousel-vanilla

![preview](https://github.com/DmytroKravchuk/3Dcarousel/blob/master/assets/preview.gif?raw=true)

3d carousel3d carousel js3d carousel vanila jscarouselsimple 3d carousel
Published14 Dec 2022
Direct dependencies1
Transitive dependenciesNot calculated

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.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
swipe-dk
Environment
{
  "local_name": "swipe-dk",
  "alias": false,
  "peer_metadata": null
}
^1.0.3runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "b71ca36ca6e5cc5797fb48694d6bd789dbe2e334",
  "tarball": "https://registry.npmjs.org/3d-carousel-vanilla/-/3d-carousel-vanilla-1.0.6.tgz",
  "fileCount": 4,
  "integrity": "sha512-E6KxH/q7IcM/q9O1J7UxFOtK8nf5pmZPRm4em8zvk9YG4RmEQRCSWPeyhGepVNiHWmGfVASIixPsrZpMqXXuEA==",
  "signatures": [
    {
      "sig": "MEQCIBoMZWJ0sQ9NSFWW71QdaIL4BwA6mFzz0weYzN+T2/sNAiA9KDOxUbaNxbuMDjDtKk8uDtzdLsyaRiI+3DoSGeqBSQ==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 154756,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmlU2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYahAAmMpOiKkYAy0LQFwEQt0yC/7NCaVRIq7TpB6qOpbyxEP/B9bs\r\nCNzrcohtZVbgNMaXLXbfaUL9/+ooYukiqRL3MQNF6CAGWEKr6A3TmCaxszQB\r\nhSHiRJ1PbXXC5WfZlExkZ2ZLtftr8ZPHNO4lAqeRCBDkaMdNL1OXjIluRCTU\r\nuDhkkUrSD8bZuQsFlIDZeibqPuHhbFaFuVZH9r2KQc0libJOCwRCN6kzZc6f\r\nLzRIAlLH2TC1H5GROH9RXU7a6zqNujtW1LG9eOWGWnd+nu43wnI06E98y8K3\r\n0LVQnn6jRiPaJ4IjdOaR0cHd+JcsP4GrtoykLX0GDpRzXHh7+G0SDTMfb8mg\r\n05SoeIwviAKXikYT6wf7g5LjBjw1HObNuDi1qmkYvxVac6wr8IgQfA4cfCLG\r\nNJEXEd1CfJuq9wpboqD120BfOFaSkb4uVnQm09MPSfRBwykCRCBB59SSLTl5\r\nEtkUhltuN9MRJ2c+belOpl9t4mzl9IOkKJc6cV2XUevztphZfNaU3E9hcRbg\r\nEuBEXY5oL8KFH2y6vUZYwUfJLfoKTJfBAW/nw6mXTGGNpvDUdGGskB27dH+N\r\nARyRWoyQ7xkt6rz0+XCW401INdPjZDPJ+hQ3nwAWbCl0skD9wrTfDcbce0I9\r\no2NgZNh2hCA1nRcUbWH5Nx10GHXbgLCg2FQ=\r\n=oOag\r\n-----END PGP SIGNATURE-----\r\n"
}

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:33 UTC

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

Record identity

package_version:5b9594cf8dbca4c137128fbbfa6aee1af3a79d7ad4ddad2e17baa4fea6a19a87

Other collected versions

1.0.124 Sept1.0.114 Sept1.0.104 Sept1.0.920 Jan1.0.820 Jan1.0.720 JanView all collected versions →