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

@embeddr/react-ui

v0.2.0-alpha.2

Published

<div align="center"><a name="readme-top"></a>

Readme

npm downloads embeddr-react-ui version

pypi version embeddr-core version

embeddr-frontend

license

[!WARNING]

You do not need this if you want to use Embeddr

This repo is for development only.

Please use embeddr-cli

This package lives strictly in the UI layer and communicates with the backend only through stable client contracts.


Currently used by

  • Embeddr Zen UI / frontend distribution
    https://github.com/embeddr-net/embeddr-frontend

  • Embeddr ComfyUI embedded client
    https://github.com/embeddr-net/embeddr-comfyui


Plugin developer docs

  • https://docs.embeddr.net
  • Plugin-focused docs and examples should live under the docs site as they are published.

Components

This library includes:

Public import paths

Use explicit subpath imports for clear boundaries:

  • @embeddr/react-ui/components/ui for base UI primitives and composed controls
  • @embeddr/react-ui/components/embeddr for Embeddr-specific media components
  • @embeddr/react-ui/components/visualization for UMAP and visualization components
  • @embeddr/react-ui/hooks for plugin and UI hooks
  • @embeddr/react-ui/hooks/plugin for plugin-oriented hooks
  • @embeddr/react-ui/hooks/distro for shell/distro-oriented hooks
  • @embeddr/react-ui/types for shared API and domain types
  • @embeddr/react-ui/context for provider context hooks
  • @embeddr/react-ui/lib/* for utility modules (utils, dnd, reactive, renderables, artifact-graph, mdx)

Quick import examples

import { Button, Card, ScrollArea } from "@embeddr/react-ui/components/ui";
import { EmbeddrImage, VideoPlayer } from "@embeddr/react-ui/components/embeddr";
import { Umap3DExplorer } from "@embeddr/react-ui/components/visualization";
import { usePluginDrop, usePluginStorage } from "@embeddr/react-ui/hooks";
import { usePluginAPI } from "@embeddr/react-ui/hooks/plugin";
import { useImageDialog } from "@embeddr/react-ui/hooks/distro";
import type { EmbeddrAPI } from "@embeddr/react-ui/types";
import { EmbeddrDnDTypes } from "@embeddr/react-ui/lib/dnd";

[!TIP] Use package export paths (@embeddr/react-ui/...) in consuming apps and plugins.

Themed shadcn components

Embeddr uses a themed and extended version of shadcn/ui as a base.

These components integrate with:

  • Embeddr theming tokens
  • layout and panel containers
  • distribution-specific styling

Hooks

Hook audiences

  • Plugin-focused hooks: import from @embeddr/react-ui/hooks/plugin
    • usePluginAPI, usePluginDrop, usePluginStorage, usePluginSetting
    • useWebSocketEvent, useWebSocketStream
    • useArtifact, useImage, useResolvedArtifact
  • Distro/shell hooks: import from @embeddr/react-ui/hooks/distro
    • useImageDialog, useExternalNav, usePanelStack, useLocalStorage
  • Backwards compatibility: @embeddr/react-ui/hooks still re-exports both groups

usePluginAPI

Canonical hook for plugin development. Returns the shell-provided API exposed via EmbeddrProvider when a plugin is mounted.


useImageDialog

Provides a lightbox and gallery viewer for artifacts and media.

lightbox


useExternalNav

Provides a confirmation and safety layer before navigating to external sites from inside an Embeddr shell.

nav


Visualization components (in progress)

[!NOTE] Visualization exports are available now, but APIs may continue to evolve during 0.2.x as usage expands.

3D UMAP explorer (available, evolving)

3d-viz

2D UMAP explorer (in development)


Contributing

Package-specific contribution guidance lives in CONTRIBUTING.md.

For general contribution guidelines, see:

https://github.com/embeddr-net/embeddr-cli


Related packages

  • embeddr frontend distributions https://github.com/embeddr-net/embeddr-frontend

  • Embeddr CLI https://github.com/embeddr-net/embeddr-cli

  • Embeddr core https://pypi.org/project/embeddr-core

  • Embeddr docs https://docs.embeddr.net

License

Copyright 2026 Embeddr Labs and Contributors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0