solar-system-carousel
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

Solar System Carousel

A unique and easy to use carousel.

Made by Hadar Harush & David Sharki.

  npm i solar-system-carousel

Alt Text


CodeSandbox playground:
https://codesandbox.io/s/solar-system-carousel-yuy1l

Usage:

import { SolarSystemCarousel } from "solar-system-carousel";

function Foo() {
  return (
    <div>
    <SolarSystemCarousel images={images} centeredImage={centeredImage} />
    </div>)
}

Props:


prop value Description default required?
images array of strings The images that should revolve in the carousel. must have 1-12 images! an example array of 4 images yes
centeredImage string The image that should be in the middle of the carousel head image yes
centerWidth string width of the centered image. works with any unit. e.g: centerWidth='20rem' or centerWidth='80%'. '400px' no

Hadar's email: hadarushha@gmail.com

David's email: david17895@gmail.com


David's LinkedIn
Hadars's LinkedIn

Readme

Keywords

none

Package Sidebar

Install

npm i solar-system-carousel

Weekly Downloads

1

Version

0.2.3

License

MIT

Unpacked Size

49.5 kB

Total Files

18

Last publish

Collaborators

  • knowledge-reigns-supreme
  • hadar_harush1