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

ssovee-os-web-ui

v0.1.90

Published

Reusable UI component library for shared applications.

Readme

ssovee-os-web-ui

Reusable React UI components for building shared desktop-style web experiences.

Overview

This package provides a shared set of React UI components for SSOVEE applications. It includes themed UI primitives, hooks, and desktop-style window wrappers for app-like layouts.

Features

  • Ready-to-use React UI components
  • Packaged theme stylesheet for shared visual tokens
  • TypeScript support for the main public components
  • Window components for desktop-style app shells
  • Plugin playground support for local plugin testing

Install

npm install ssovee-os-web-ui

If your app does not already include React, install it as well:

npm install react react-dom

CSS import

Import the package stylesheet once in your app entry file or global stylesheet:

import "ssovee-os-web-ui/theme.css";

If your setup prefers CSS imports, this also works:

@import "ssovee-os-web-ui/theme.css";

Basic usage

import { Button, Input, Card } from "ssovee-os-web-ui";

export function Example() {
  return (
    <Card>
      <Input placeholder="Search" />
      <Button variant="primary">Save</Button>
    </Card>
  );
}

Editors

CodeEditor

CodeEditor is a controlled Monaco editor configured for JSON by default:

import { useState } from "react";
import { CodeEditor } from "ssovee-os-web-ui";

export function SettingsEditor() {
  const [value, setValue] = useState('{"enabled":true}');

  return (
    <CodeEditor
      value={value}
      onChange={setValue}
      theme="light"
      height="320px"
      options={{ minimap: { enabled: false } }}
    />
  );
}

Use theme="vs-dark" for a dark editor. The component also accepts Monaco language, height, and options props.

The component supports toolbar, plugins, fullWidth, error, and disabled props for common form usage.

Window components

Simple window

import { WindowWithoutSideMenu, Typography } from "ssovee-os-web-ui";

const app = {
  name: "Notes",
  slug: "notes",
  isActive: true,
  isMinimize: false,
  windowSize: {
    windowSize: { width: 420, height: 320 },
    isAppWindowResizing: false,
  },
};

export function NotesWindow() {
  return (
    <WindowWithoutSideMenu app={app} defaultSize={ { width: 420, height: 320 } }>
      <Typography variant="h6">Notes</Typography>
    </WindowWithoutSideMenu>
  );
}

Window with sidebar menu

import { WindowWithSideMenu, Typography, Button } from "ssovee-os-web-ui";

const app = {
  name: "Settings",
  slug: "settings",
  isActive: true,
  isMinimize: false,
  windowSize: {
    windowSize: { width: 720, height: 500 },
    isAppWindowResizing: false,
  },
};

export function SettingsWindow() {
  return (
    <WindowWithSideMenu
      app={app}
      defaultSize={ { width: 720, height: 500 } }
      actionButtons={ { title: "Save", onClick: () => console.log("Saved") } }
      menu={ {
        title: "Navigation",
        items: [
          { title: "Profile", icon: "👤", onClick: () => console.log("Profile"), isActive: true },
          { title: "Security", icon: "🔒", onClick: () => console.log("Security") },
        ],
      } }
    >
      <Typography variant="h6">Settings</Typography>
      <Button variant="primary">Update</Button>
    </WindowWithSideMenu>
  );
}

Skeleton loader

import { Skeleton } from "ssovee-os-web-ui";

export function LoadingState() {
  return (
    <div style={ { display: "grid", gap: 12 } }>
      <Skeleton variant="text" lines={3} />
      <Skeleton variant="avatar" className="h-12 w-12" />
      <Skeleton variant="image" className="h-40" />
      <Skeleton variant="card" lines={4} />
    </div>
  );
}

Plugin playground

import { PluginPlayground, Typography, Button } from "ssovee-os-web-ui";

const pluginMetadata = {
  title: "Plugin Preview",
  defaultWidth: 720,
  defaultHeight: 520,
  windowVariant: "with-side-menu",
};

export function PluginPreview() {
  return (
    <PluginPlayground
      metadata={pluginMetadata}
    >
      <div>
        <Typography variant="h6">Plugin Content</Typography>
        <Button variant="primary">Run</Button>
      </div>
    </PluginPlayground>
  );
}

Hooks

Hooks are also available through the SDK-style entrypoint:

import { useGridClasses, useDeviceSupport, useSound } from "ssovee-os-web-ui/sdk";

Public exports

The package exports these components and types for external use:

  • Button
  • Input
  • TextArea
  • CodeEditor
  • Select
  • SelectOption
  • Checkbox
  • Toggle
  • Dropdown
  • DropdownOption
  • Loading
  • Skeleton
  • Toast
  • Alert
  • Modal
  • Card
  • Badge
  • Avatar
  • Divider
  • Tooltip
  • SearchInput
  • FileUpload
  • Progress
  • Pagination
  • Radio
  • Accordion
  • Tabs
  • Typography
  • ImageWithPlaceholder
  • PluginPlayground
  • WindowWithSideMenu
  • WindowWithoutSideMenu
  • Table and its subcomponents
  • useGridClasses
  • useShortcutFormatter
  • useDeviceSupport
  • useSound

The hooks are available from the package entrypoint and from the SDK subpath.

License

MIT