Current collected state Current
Observed since 20 Oct, 19:36 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A simple, modern look 3D image carousel with IPhone frame, written with React
A simple, modern look 3D phone carousel, written with React.

Just run npm i 3d-phone-carousel
After installation, you are able to use PhoneSlider component.
You can set up these props to:
image: Image url or reference (recommended image size: 408 * 190)title: The title of slidedescription: The subtitle of the slideuseRef() to define the reference)useRef() to define the reference)// REMEMBER TO IMPORT BOTH COMPONENT AND ITS STYLE
import "3d-phone-carousel/dist/index.css"
import { PhoneSlider } from '3d-phone-carousel/dist';
function YourParentComponent(props) {
const slideForwardButton = useRef(null);
const slideBackgroundButton = useRef(null);
return <div className="section">
<div ref={slideForwardButton} className="custom-slide-button"/>
<PhoneSlider style={{
margin: "80px 0"
}}
backwardButtonRef={slideBackgroundButton}
forwardButtonRef={slideForwardButton}
items={[
{
description: "Example Description of slide 1",
title: "Title of image 1",
image: "/url to your image"
},
{
description: "Example Description of slide 2",
title: "Title of image 2",
image: "/url to your image"
},
{
description: "Example Description of slide 3",
title: "Title of image 3",
image: "/url to your image"
}
]}/>
<div ref={slideBackgroundButton} className="custom-slide-button"/>
</div>
}
Email me: mahdi.khansari.mk@gmail.com
Telegram: @geekoptech
This project has been made by Mahdi Khansari under MIT licence
Help me to maintain and improve it :)
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.52Registry latest | 25 Feb 2024 | 30 | |
| 1.0.51 | 25 Feb 2024 | 30 | |
| 1.0.5 | 25 Feb 2024 | 30 | |
| 1.0.41 | 2 Feb 2024 | 30 | |
| 1.0.4 | 20 Jan 2024 | 30 | |
| 1.0.35 | 19 Jan 2024 | 30 | |
| 1.0.34 | 19 Jan 2024 | 30 | |
| 1.0.33 | 19 Jan 2024 | 30 | |
| 1.0.32 | 19 Jan 2024 | 30 | |
| 1.0.31 | 19 Jan 2024 | 30 | |
| 1.0.3 | 19 Jan 2024 | 30 | |
| 1.0.2 | 19 Jan 2024 | 30 | |
| 1.0.1 | 19 Jan 2024 | 30 | |
| 1.0.0 | 18 Jan 2024 | 30 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 19:36 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:41bbf40bd26ba9dea8cea9e65945f20c52b35fd7bae3a71780b7d897135dd627