npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

exopane

v1.0.1

Published

A lightweight, draggable window manager with multi-screen support for React, Blazor, and Vanilla JS.

Downloads

247

Readme

ExoPane 🚀

ExoPane is a lightweight, high-performance React library for creating draggable, resizable, and "poppable" floating windows. Perfect for dashboards, multi-screen tools, and dynamic popups.

🤔 Why use ExoPane?

Standard web applications are often confined to a single browser tab. ExoPane breaks these boundaries by providing:

  1. Exogenous Windows (Multi-Screen Support): The unique "Pop Out" feature allows users to move specific parts of your UI (like a chat, a video, or a log monitor) into real browser windows. This is a game-changer for users with multiple monitors.
  2. Context Preservation: Users can continue navigating your main application while keeping a "popped out" window visible on another screen.
  3. Desktop-Grade UX: Provides a familiar windowing environment (drag, resize, minimize, maximize) within your web app.
  4. Information Density: Manage complex dashboards by organizing tools into floating panes rather than a single, cluttered page.

📦 Distribution & Updates

To ensure your users always have the latest version of ExoPane, you can distribute it via NPM or a CDN.

🌐 CDN (Recommended for Vanilla JS & Blazor)

Add these tags to your HTML to get the latest version automatically:

<!-- Styles -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/exopane@latest/dist/exopane.min.css">

<!-- Library -->
<script src="https://cdn.jsdelivr.net/npm/exopane@latest/dist/exopane.min.js"></script>

🛠️ NPM (Recommended for React)

npm install exopane

For detailed instructions on how to publish your own version of this library, see PUBLISH.md.

🔌 Multi-Framework Support

ExoPane is available in two editions:

  • React Edition: Built with framer-motion for high-performance animations and React state management.
  • Vanilla JS Edition: A zero-dependency implementation perfect for Blazor, Angular, Vue, or standard HTML/JS projects.

Using in Blazor

Check out BLAZOR_GUIDE.md for a full integration example using JS Interop.

Using in Vanilla JS

Check out VANILLA_JS_EXAMPLE.html for a standalone demo.

🚀 Quick Start

1. Installation

Ensure you have the required peer dependencies:

npm install motion lucide-react

2. Basic Usage

import ExoPane from './lib/exopane/ExoPane';

function App() {
  const [isOpen, setIsOpen] = useState(true);

  return (
    <div className="h-screen w-full bg-slate-900">
      {isOpen && (
        <ExoPane 
          id="my-window" 
          title="System Monitor"
          onClose={() => setIsOpen(false)}
        >
          <div className="p-4 text-white">
            <p>This is a floating window!</p>
          </div>
        </ExoPane>
      )}
    </div>
  );
}

📖 Documentation

For detailed integration steps and advanced usage, check out GUIDE.md.

🛠️ Props

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | id | string | Required | Unique ID for the window instance. | | title | string | Required | Title displayed in the header. | | children | ReactNode | Required | Content of the window. | | onClose | () => void | undefined | Callback when closed. | | initialPosition | {x, y} | {x: 100, y: 100} | Starting position. | | initialSize | {width, height} | {400, 300} | Starting dimensions. | | showPopOut | boolean | true | Show the "external window" button. | | className | string | ... | Custom Tailwind classes for container. | | headerClassName | string | ... | Custom Tailwind classes for header. |


Built with ❤️ for multi-screen productivity.