React Viewify
The React Viewify is a react package for displaying various types of media content, including images, videos, and other multimedia sources. It offers a seamless and immersive viewing experience, making it an ideal choice for applications where media consumption is a key feature.
Table of Contents
Features
- Support for Multiple Media Types (Only Images are supported for now.)
- Clean and Intuitive User Interface
- Responsive Design
Installation
To use this package, all you need to do is install react-viewify
on the project you want to use.
$ npm i react-viewify
Usage
To incorporate the React Viewify component into your React application, simply import it and pass in the media content you want to display.
import React from "react";
import { Viewify } from "react-viewify";
const App = () => {
return (
<>
<Viewify
sources={["https://placehold.co/150", "https://placehold.co/300"]}
thumbnails={["https://placehold.co/150", "https://placehold.co/300"]}
/>
</>
);
}
export default App;
License
MIT © Bibash Thapa Magar