Catalog npm
Back to packageRELEASE DETAILS

1.0.5

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": "82bdebc9cf2834c1489f766ea6d10cc7783193b9",
  "tarball": "https://registry.npmjs.org/3d-carousel-vanilla/-/3d-carousel-vanilla-1.0.5.tgz",
  "fileCount": 4,
  "integrity": "sha512-IDfPHNF3gMDAX/LOclAcm3rMg3euvHW/NdcYF+UfKVfHJT9ObeexPFM+bCkR7zbNapEmOiWj8zAC/tE07T0agg==",
  "signatures": [
    {
      "sig": "MEQCIGEc3s/RB8B9vQ8+nsuNH3tndTcYzswfMERIsg3FeEZQAiAy/LndR7tHI0WYWyF0rjxlE/WPLD5U94Le2r0q7HnrnA==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 154737,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmkqXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1zQ//XJ5AmqjXitAQfkVA34XmRdG0yi8eSz/AoH8/aUvMYOj5V6Lv\r\niMKoie0QnvWQ3NfuATrGRM17xo61mVqIuZ4O8pQZZPbLdciacT+bnkaM0PRV\r\nZzrVwyhmIs0fcbwY1pb7W9o1Zwr8nnHVO9E5S2iAaI+AsN/h2ND6Z7EkxSkJ\r\n6UDFISvN5yN9/ywxZh7VXlrxGbTupWlei/kqQ50z07YLD6RCRyhmZpQRUFpV\r\nH6Lt+JjNYNlnCSBvQetceffxSqhk21tf+pWm5L7r0hus5/l7v1EF+n8V7swL\r\nSPDv/XTCLaZluKiE67Boq/94FxK7kq3NKUAK4MuzlikU3VemkP+Z4FguM5IX\r\nK4PIVwA1dkr4E7Bqc/8dz47pabEqdu+tf8m54vU6ndgO2Qd/A56wctgQn9WR\r\n+RNZjEfJJKIs+cBNLSahUlXhKo0WX40sU1MdGpL1ZG/1tPoJALNPpisAoYVA\r\n+MuyIfdNRMu+SdxP38v/2GK7U4zwHeeVGlAOrlchvoDYWiMPd9sf8SU4qcYR\r\n1VDFP9kD5njJNfqbT8ZbWRUb2inl3aSkj5oy4Uc6OlO/oK726V3xY142b/38\r\nQFwmTuAcFEMq+nUdi802GedNcj5ogHOBn/BQU+EZbSdDx/mx5OLvRqxUt5CD\r\nJh220q1A/jAP1A5wLKxx+zTQi8XhL1Bekc0=\r\n=acDe\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:32 UTC

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

Record identity

package_version:7a74edcf1c6fbd4b99a4ac9f35c2cf34caf450fdc18cdc68d27c6aa37ee3e5ed

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 →