
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
react-pannellum-next
Advanced tools
The `PanoramaViewer` component is a React component that provides a panoramic image viewer using the Pannellum library. It allows you to display a 360-degree image and add interactive hotspots to it.
The
PanoramaViewercomponent is a React component that provides a panoramic image viewer using the Pannellum library. It allows you to display a 360-degree image and add interactive hotspots to it.
This library use source from https://pannellum.org/
To install the PanoramaViewer component, you can use your favorite package manager:
npm install --save react-pannellum-next
yarn add react-pannellum-next
import React from 'react';
import { PanoramaViewer, HotspotProps } from 'react-pannellum';
const App: React.FC = () => {
const hotSpots: HotspotProps[] = [
{ pitch: 0, yaw: 0, type: 'info', text: 'Welcome!' },
// Add more hotspots here
];
return (
<div>
<h1>My Panorama Viewer</h1>
<PanoramaViewer imagePath="/path/to/panorama.jpg" hotSpots={hotSpots} />
</div>
);
};
export default App;
import React from 'react';
import { HotspotProps } from 'react-pannellum-next';
const DynamicPanoramaViewer = dynamic(() => import('react-pannellum-next').PanoramaViewer, {
ssr: false, // Disable server-side rendering for this component
});
const App: React.FC = () => {
const hotSpots: HotspotProps[] = [
{ pitch: 0, yaw: 0, type: 'info', text: 'Welcome!' },
// Add more hotspots here
];
return (
<div>
<h1>My Panorama Viewer</h1>
<DynamicPanoramaViewer imagePath="/path/to/panorama.jpg" hotSpots={hotSpots} />
</div>
);
};
export default App;
Connect on LinkedIn: Loïc Kami
FAQs
The `PanoramaViewer` component is a React component that provides a panoramic image viewer using the Pannellum library. It allows you to display a 360-degree image and add interactive hotspots to it.
The npm package react-pannellum-next receives a total of 35 weekly downloads. As such, react-pannellum-next popularity was classified as not popular.
We found that react-pannellum-next demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.