Current collected state Current
Observed since 20 Oct, 19:36 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
3d-phone-carousel
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.
| Package / target | Requirement | Relationship |
|---|---|---|
@testing-library/jest-domEnvironment{
"local_name": "@testing-library/jest-dom",
"alias": false,
"peer_metadata": null
} | ^4.2.4 | development |
@testing-library/reactEnvironment{
"local_name": "@testing-library/react",
"alias": false,
"peer_metadata": null
} | ^9.5.0 | development |
@testing-library/user-eventEnvironment{
"local_name": "@testing-library/user-event",
"alias": false,
"peer_metadata": null
} | ^7.2.1 | development |
@types/jestEnvironment{
"local_name": "@types/jest",
"alias": false,
"peer_metadata": null
} | ^25.1.4 | development |
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^12.12.38 | development |
@types/reactEnvironment{
"local_name": "@types/react",
"alias": false,
"peer_metadata": null
} | ^16.9.27 | development |
@types/react-domEnvironment{
"local_name": "@types/react-dom",
"alias": false,
"peer_metadata": null
} | ^16.9.7 | development |
@typescript-eslint/eslint-pluginEnvironment{
"local_name": "@typescript-eslint/eslint-plugin",
"alias": false,
"peer_metadata": null
} | ^2.26.0 | development |
@typescript-eslint/parserEnvironment{
"local_name": "@typescript-eslint/parser",
"alias": false,
"peer_metadata": null
} | ^2.26.0 | development |
babel-eslintEnvironment{
"local_name": "babel-eslint",
"alias": false,
"peer_metadata": null
} | ^10.0.3 | development |
cross-envEnvironment{
"local_name": "cross-env",
"alias": false,
"peer_metadata": null
} | ^7.0.2 | development |
eslintEnvironment{
"local_name": "eslint",
"alias": false,
"peer_metadata": null
} | ^6.8.0 | development |
eslint-config-prettierEnvironment{
"local_name": "eslint-config-prettier",
"alias": false,
"peer_metadata": null
} | ^6.7.0 | development |
eslint-config-standardEnvironment{
"local_name": "eslint-config-standard",
"alias": false,
"peer_metadata": null
} | ^14.1.0 | development |
eslint-config-standard-reactEnvironment{
"local_name": "eslint-config-standard-react",
"alias": false,
"peer_metadata": null
} | ^9.2.0 | development |
eslint-plugin-importEnvironment{
"local_name": "eslint-plugin-import",
"alias": false,
"peer_metadata": null
} | ^2.18.2 | development |
eslint-plugin-nodeEnvironment{
"local_name": "eslint-plugin-node",
"alias": false,
"peer_metadata": null
} | ^11.0.0 | development |
eslint-plugin-prettierEnvironment{
"local_name": "eslint-plugin-prettier",
"alias": false,
"peer_metadata": null
} | ^3.1.1 | development |
eslint-plugin-promiseEnvironment{
"local_name": "eslint-plugin-promise",
"alias": false,
"peer_metadata": null
} | ^4.2.1 | development |
eslint-plugin-reactEnvironment{
"local_name": "eslint-plugin-react",
"alias": false,
"peer_metadata": null
} | ^7.17.0 | development |
eslint-plugin-standardEnvironment{
"local_name": "eslint-plugin-standard",
"alias": false,
"peer_metadata": null
} | ^4.0.1 | development |
gh-pagesEnvironment{
"local_name": "gh-pages",
"alias": false,
"peer_metadata": null
} | ^2.2.0 | development |
microbundle-crlEnvironment{
"local_name": "microbundle-crl",
"alias": false,
"peer_metadata": null
} | ^0.13.10 | development |
npm-run-allEnvironment{
"local_name": "npm-run-all",
"alias": false,
"peer_metadata": null
} | ^4.1.5 | development |
prettierEnvironment{
"local_name": "prettier",
"alias": false,
"peer_metadata": null
} | ^2.0.4 | development |
reactEnvironment{
"local_name": "react",
"alias": false,
"peer_metadata": null
} | ^18.2.0 | development |
react-domEnvironment{
"local_name": "react-dom",
"alias": false,
"peer_metadata": null
} | ^18.2.0 | development |
react-scriptsEnvironment{
"local_name": "react-scripts",
"alias": false,
"peer_metadata": null
} | ^3.4.1 | development |
typescriptEnvironment{
"local_name": "typescript",
"alias": false,
"peer_metadata": null
} | ^3.7.5 | development |
sassEnvironment{
"local_name": "sass",
"alias": false,
"peer_metadata": null
} | ^1.70.0 | development |
reactEnvironment{
"local_name": "react",
"alias": false,
"peer_metadata": null
} | ^16.0.0 | peer |
Source distribution
{
"integrity": "sha512-8fzi7aZmjIUqhGl0MejeLGfyt0D4yN09sd8JCB5zWFtw3TVVkG6Uy3X22uqIfoN0uS9DVj0r6GIWZcTpkJnbeQ==",
"shasum": "2dfb6a6ca94508bacde776cfe3f4d765a72b0727",
"tarball": "https://registry.npmjs.org/3d-phone-carousel/-/3d-phone-carousel-1.0.32.tgz",
"fileCount": 12,
"unpackedSize": 285270,
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIQC4Em459byDkh9HN47DNw85ylKYnxBvLDBbjcWcjH7zWAIgcwZNjTg5PnH3C2lFDJoWKbRSvzvuWgNdPYMu7FgmZ0E="
}
]
}Shared repository data · GitHub
Observed since 20 Oct, 19:36 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:bca0978b9af24ceaa34798acc9ffc717b72a295b1efc79e8cf8b1f5b8d3bb77b