Current collected state Current
Observed since 20 Oct, 19:32 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A classy 3d carousel for react.js
A classy 3d carousel for react.js;✨💞

Have a Look at the Example
npm i 3d-carousel-component
import Carousel3D from "3d-carousel-component";
const YourComponent = () => {
return (
<Carousel3D
ContainerStyle={ContainerStyle}
CardStyle={CardStyle}
CardList={CardList}
/>
);
};
Basically you have to pass three props, Namely:
Out of this first two are for styling and last one contains list of your cards.
Note all variables, props, properties follow UpperCamelCase Rule.*
| Key | Function |
|---|---|
| Width | Width of the main container |
| Height | Height of the main container |
| Padding | Padding of the main container |
| Margin | Margin of the main container |
| BackgroundColor | Background color of the main container |
| Background | Background property |
| Key | Function |
|---|---|
| Width | Width of each Card |
| Height | Height of each Card |
| Padding | Padding inside of your Card |
| AspectRatio | Defines Aspect ratio of your Card |
import Carousel3D from "3d-carousel-component";
const YourComponent = () => {
//List of element you want inside carousel.
const CardList = [
{ element: <div>Card 1</div>, },
{ element: <div>Card 2</div>, },
{ element: <div>Card 3</div>, },
{ element: <div>Card 4</div>, },
{ element: <div>Card 5</div>, },
{ element: <div>Card 6</div>, },
{ element: <div>Card 7</div>, },
{ element: <div>Card 8</div>, },
];
const ContainerStyle = {
BackgroundColor: "Cyan",
Width: "100%",
Padding: "1em",
Margin: "auto",
};
const CardStyle = {
Width: "100%",
BackgroundColor: "blanchedalmond",
Padding: "0.5em 1em",
};
return <Carousel3D
ContainerStyle={ContainerStyle}
CardStyle={CardStyle}
CardList={CardList}
/>;
};
export defalut YourComponent;
Example Code Link: click here
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Shared repository data · GitHub
Observed since 20 Oct, 19:32 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:748825979acebd317b903a8c9e7ad66acb43fe03b0b3dd8b19a6d830a30012ff