<?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: jishnu vijayan</title>
    <description>The latest articles on DEV Community by jishnu vijayan (@jishnu_a_vijayan).</description>
    <link>https://dev.to/jishnu_a_vijayan</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3789156%2F060a4f00-2493-48cd-a8be-b570f750cd42.jpg</url>
      <title>DEV Community: jishnu vijayan</title>
      <link>https://dev.to/jishnu_a_vijayan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jishnu_a_vijayan"/>
    <language>en</language>
    <item>
      <title>React Media Slider – Display Images and Videos in a Single Slider</title>
      <dc:creator>jishnu vijayan</dc:creator>
      <pubDate>Tue, 24 Feb 2026 10:38:14 +0000</pubDate>
      <link>https://dev.to/jishnu_a_vijayan/react-image-slider-1ob7</link>
      <guid>https://dev.to/jishnu_a_vijayan/react-image-slider-1ob7</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Repository&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/jishnuAVijayan012/my-react-slider" rel="noopener noreferrer"&gt;https://github.com/jishnuAVijayan012/my-react-slider&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Building a modern media gallery in React should be simple. Whether you're showcasing product images, promotional videos, portfolios, or social media content, you often need to display both images and videos in the same slider.&lt;/p&gt;

&lt;p&gt;my-react-image-slider-jav is a lightweight and customizable React media slider that supports both images and videos with an easy-to-use API.&lt;/p&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;📷 Display images and videos in a single slider&lt;/li&gt;
&lt;li&gt;🎥 Native HTML5 video support&lt;/li&gt;
&lt;li&gt;🔄 Smooth navigation between media items&lt;/li&gt;
&lt;li&gt;📱 Fully responsive design&lt;/li&gt;
&lt;li&gt;⚡ Lightweight and easy to integrate&lt;/li&gt;
&lt;li&gt;🎨 Customizable through CSS&lt;/li&gt;
&lt;li&gt;🖱️ Previous and Next navigation controls&lt;/li&gt;
&lt;li&gt;💻 Works with modern React applications&lt;/li&gt;
&lt;li&gt;🚀 Simple installation and setup&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Installation&lt;/strong&gt;&lt;br&gt;
First, install the required package using npm:&lt;/p&gt;

&lt;p&gt;npm install my-react-image-slider-jav&lt;/p&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;yarn add my-react-image-slider-jav&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;Basic Usage&lt;/strong&gt;
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Import and use the ImageSlider component in your React application:
import React from 'react'

import { ImageSlider } from 'my-react-image-slider-jav';

const App = () =&amp;gt; {

  const productData = {

    name: "Nike Air Max",

    images: [

      "https://fadzrinmadu.github.io/hosted-assets/product-detail-page-design-with-image-slider-html-css-and-javascript/shoe_1.jpg",

      "https://fadzrinmadu.github.io/hosted-assets/product-detail-page-design-with-image-slider-html-css-and-javascript/shoe_2.jpg",

      "https://fadzrinmadu.github.io/hosted-assets/product-detail-page-design-with-image-slider-html-css-and-javascript/shoe_3.jpg",

      "https://fadzrinmadu.github.io/hosted-assets/product-detail-page-design-with-image-slider-html-css-and-javascript/shoe_4.jpg",

    ],

  };

  return (

    &amp;lt;div className="App"&amp;gt;

      &amp;lt;ImageSlider images={productData.images} /&amp;gt;


    &amp;lt;/div&amp;gt;

  );

}


export default App;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;**&lt;/p&gt;
&lt;h2&gt;
  
  
  Media Object Structure
&lt;/h2&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;p&gt;Each media item accepts the following properties:&lt;/p&gt;
&lt;h2&gt;
  
  
  Image
&lt;/h2&gt;

&lt;p&gt;{&lt;br&gt;
  type: "image",&lt;br&gt;
  src: "&lt;a href="https://example.com/image.jpg" rel="noopener noreferrer"&gt;https://example.com/image.jpg&lt;/a&gt;",&lt;br&gt;
  alt: "Beautiful landscape"&lt;br&gt;
}&lt;/p&gt;
&lt;h2&gt;
  
  
  Video
&lt;/h2&gt;

&lt;p&gt;{&lt;br&gt;
  type: "video",&lt;br&gt;
  src: "&lt;a href="https://example.com/video.mp4" rel="noopener noreferrer"&gt;https://example.com/video.mp4&lt;/a&gt;",&lt;br&gt;
  poster: "&lt;a href="https://example.com/poster.jpg" rel="noopener noreferrer"&gt;https://example.com/poster.jpg&lt;/a&gt;"&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;
&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { ImageSlider } from "my-react-image-slider-jav"; 
const media = [ 
{ 
type: "image", 
src: "https://picsum.photos/id/1018/1200/600", 
alt: "Mountain View", 
}, 
{ 
type: "image", 
src: "https://picsum.photos/id/1015/1200/600",
 alt: "Forest", 
},
 { 
type: "video",
 src: "https://www.w3schools.com/html/mov_bbb.mp4",
 poster: "https://picsum.photos/id/1016/1200/600",
 }, 
{ 
type: "image", 
src: "https://picsum.photos/id/1025/1200/600", 
alt: "Beach",
 },
 { 
type: "video", 
src: "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4", 
poster: "https://picsum.photos/id/1035/1200/600",
 }, 
]; 

const App=()=&amp;gt; {
 return &amp;lt;ImageSlider media={media} /&amp;gt;; 
}
 export default App;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The slider can seamlessly display mixed media like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7dffa00pfbvoj2w06zp4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7dffa00pfbvoj2w06zp4.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Navigation works smoothly across all media types without requiring separate components.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;Use Cases&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Product galleries&lt;/li&gt;
&lt;li&gt;E-commerce websites&lt;/li&gt;
&lt;li&gt;Portfolio websites&lt;/li&gt;
&lt;li&gt;Photography showcases&lt;/li&gt;
&lt;li&gt;Travel blogs&lt;/li&gt;
&lt;li&gt;Real estate listings&lt;/li&gt;
&lt;li&gt;Educational content&lt;/li&gt;
&lt;li&gt;Event galleries&lt;/li&gt;
&lt;li&gt;Marketing landing pages&lt;/li&gt;
&lt;li&gt;Company presentations&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;Why Use my-react-image-slider-jav?&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Lightweight package&lt;/li&gt;
&lt;li&gt;Easy integration&lt;/li&gt;
&lt;li&gt;Supports both images and videos&lt;/li&gt;
&lt;li&gt;Responsi&lt;a href="https://dev.tourl"&gt;&lt;/a&gt;ve layout&lt;/li&gt;
&lt;li&gt;Simple API&lt;/li&gt;
&lt;li&gt;Minimal configuration&lt;/li&gt;
&lt;li&gt;React-friendly&lt;/li&gt;
&lt;li&gt;Suitable for personal and commercial projects&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;Contributing&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Contributions, bug reports, and feature requests are always welcome. Feel free to open an issue or submit a pull request.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;npm Package&lt;/strong&gt;&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://www.npmjs.com/package/my-react-image-slider-jav" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;npmjs.com&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



&lt;p&gt;If you find this package useful, consider giving it a ⭐ on GitHub and sharing it with the React community.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  License
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
This project is licensed under the MIT License.&lt;/p&gt;

&lt;p&gt;Author&lt;br&gt;
JISHNU A VIJAYAN&lt;/p&gt;




&lt;p&gt;Readme&lt;br&gt;
Keywords&lt;br&gt;
reactslidercarouselimage slider&lt;/p&gt;

</description>
      <category>react</category>
      <category>tutorial</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
    <item>
      <title>React Image Slider</title>
      <dc:creator>jishnu vijayan</dc:creator>
      <pubDate>Tue, 24 Feb 2026 10:38:14 +0000</pubDate>
      <link>https://dev.to/jishnu_a_vijayan/react-image-slider-1aie</link>
      <guid>https://dev.to/jishnu_a_vijayan/react-image-slider-1aie</guid>
      <description>&lt;p&gt;Repository&lt;br&gt;
&lt;a href="https://github.com/jishnuAVijayan012/my-react-slider" rel="noopener noreferrer"&gt;https://github.com/jishnuAVijayan012/my-react-slider&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This project is a simple React Image Slider using the my-react-image-slider-jav package.&lt;br&gt;
It displays product images in a slider format.&lt;/p&gt;

&lt;p&gt;Installation&lt;br&gt;
First, install the required package using npm:&lt;/p&gt;

&lt;p&gt;npm install my-react-image-slider-jav&lt;/p&gt;

&lt;p&gt;Usage&lt;br&gt;
Import and use the ImageSlider component in your React application:&lt;br&gt;
import React from 'react'&lt;/p&gt;

&lt;p&gt;import { ImageSlider } from 'my-react-image-slider-jav';&lt;/p&gt;

&lt;p&gt;const App = () =&amp;gt; {&lt;/p&gt;

&lt;p&gt;const productData = {&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;name: "Nike Air Max",

images: [

  "https://fadzrinmadu.github.io/hosted-assets/product-detail-page-design-with-image-slider-html-css-and-javascript/shoe_1.jpg",

  "https://fadzrinmadu.github.io/hosted-assets/product-detail-page-design-with-image-slider-html-css-and-javascript/shoe_2.jpg",

  "https://fadzrinmadu.github.io/hosted-assets/product-detail-page-design-with-image-slider-html-css-and-javascript/shoe_3.jpg",

  "https://fadzrinmadu.github.io/hosted-assets/product-detail-page-design-with-image-slider-html-css-and-javascript/shoe_4.jpg",

],
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;};&lt;/p&gt;

&lt;p&gt;return (&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div className="App"&amp;gt;

  &amp;lt;ImageSlider images={productData.images} /&amp;gt;


&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;);&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;export default App;&lt;/p&gt;

&lt;p&gt;Features&lt;br&gt;
Simple and lightweight image slider&lt;br&gt;
Easy integration with React&lt;br&gt;
Supports multiple images&lt;br&gt;
License&lt;br&gt;
This project is licensed under the MIT License.&lt;/p&gt;

&lt;p&gt;Author&lt;br&gt;
JISHNU A VIJAYAN&lt;/p&gt;




&lt;p&gt;Readme&lt;br&gt;
Keywords&lt;br&gt;
reactslidercarouselimage slider&lt;/p&gt;

</description>
      <category>react</category>
      <category>tutorial</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
