<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Abijith26</title>
    <description>The latest articles on DEV Community by Abijith26 (@abijith26).</description>
    <link>https://dev.to/abijith26</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1397235%2Fea3b443b-d358-4b8a-a9d1-f3f706c54b3e.png</url>
      <title>DEV Community: Abijith26</title>
      <link>https://dev.to/abijith26</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abijith26"/>
    <language>en</language>
    <item>
      <title>Implementing Image Carousel in NextJS</title>
      <dc:creator>Abijith26</dc:creator>
      <pubDate>Sat, 30 Mar 2024 10:33:41 +0000</pubDate>
      <link>https://dev.to/abijith26/implementing-image-carousel-in-nextjs-10nb</link>
      <guid>https://dev.to/abijith26/implementing-image-carousel-in-nextjs-10nb</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbagqe3n1jc0tvgm8nx3h.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbagqe3n1jc0tvgm8nx3h.jpg" alt="Image description" width="800" height="526"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;File: page.tsx&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React from "react";
import FeaturedScreen from "./components/FeaturedScreen/FeaturedScreen";
import Header from "./components/Header/Header";

export default function Home() {
  return (
    &amp;lt;main&amp;gt;
      &amp;lt;Header /&amp;gt;
      &amp;lt;FeaturedScreen /&amp;gt;
    &amp;lt;/main&amp;gt;
  );
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;File: FeaturedContent.js&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const ImageDetails = [
  {
    id: 1,
    movieName: "KAHAANI",
    language: "Hindi",
    img: "/IC-1.jpg",
  },
  {
    id: 2,
    movieName: "URI",
    language: "Hindi",
    img: "/IC-2.jpg",
  },
  {
    id: 3,
    movieName: "SPIDERMAN - NO WAY HOME",
    language: "English",
    img: "/IC-3.jpg",
  },
];

export { ImageDetails };

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;File: FeaturedScreen.tsx&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { Carousel } from "react-responsive-carousel";
import "react-responsive-carousel/lib/styles/carousel.min.css"; // requires a loader
import { ImageDetails } from "../../../public/FeaturedContent.js";
// Source for Image and its information

export default function FeaturedScreen() {
  return (
    &amp;lt;div&amp;gt;
      &amp;lt;Carousel autoPlay&amp;gt;
        {ImageDetails.map((movie) =&amp;gt; (
          &amp;lt;div key={movie.id}&amp;gt;
            &amp;lt;img src={movie.img} alt="carouselImage-1" /&amp;gt;
          &amp;lt;/div&amp;gt;
        ))}
      &amp;lt;/Carousel&amp;gt;
    &amp;lt;/div&amp;gt;
  );
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I am trying to implement a image carousel. but i am getting this error.&lt;br&gt;
can anyone help me with this?&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>carousel</category>
      <category>react</category>
    </item>
  </channel>
</rss>
