React 3D Carousel using rc-carousel-3d
A 3D carousel component for React using the rc-carousel-3d
library.
Installation
You can install this package using npm or yarn:
npm install rc-carousel-3d
yarn add rc-carousel-3d
Usage
Here's how to use rc-progressive-image in your React application:
Import the Carousel3d component and use it in your React application as follows:
import data from "./data";
function App() {
const config = {
showNavigation: true,
enableSwipe: true,
offsetRadius: 8,
};
return (
<div>
<Carousel3d
src="your-image.jpg"
placeholder="placeholder.jpg"
alt="Image Alt Text"
className="image-class"
/>
</div>
);
};
export default App;