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

entangle-ui

v0.8.0

Published

A specialized React component library for building professional editor interfaces

Readme

Entangle UI

npm Socket Badge

React + TypeScript component library for building editor-style interfaces.

entangle-ui is focused on dense, keyboard-friendly UI patterns used in tools like 3D editors, node editors, scene inspectors, and technical dashboards.

Documentation | GitHub

Status

This package is still evolving.

  • API can change between minor releases.
  • Use in production only if you are comfortable with rapid iteration.

Installation

npm install entangle-ui

Peer dependencies:

  • react >= 19.1.0
  • react-dom >= 19.1.0
  • @base-ui/react ^1.1.0
  • @floating-ui/react ^0.27.17
  • @vanilla-extract/dynamic ^2.1.5
  • @vanilla-extract/recipes ^0.5.7

Quick Start

import 'entangle-ui/darkTheme.css'; // registers --etui-* CSS custom properties on :root

import { AppShell, MenuBar, Toolbar, StatusBar } from 'entangle-ui';

export function App() {
  return (
    <div style={{ width: '100vw', height: '100vh' }}>
      <AppShell>
        <AppShell.MenuBar>
          <MenuBar>
            <MenuBar.Menu label="File">
              <MenuBar.Item onClick={() => {}}>New</MenuBar.Item>
            </MenuBar.Menu>
          </MenuBar>
        </AppShell.MenuBar>

        <AppShell.Toolbar>
          <Toolbar aria-label="Main toolbar">
            <Toolbar.Button onClick={() => {}}>Run</Toolbar.Button>
          </Toolbar>
        </AppShell.Toolbar>

        <AppShell.Dock>
          <div style={{ padding: 16 }}>Editor content</div>
        </AppShell.Dock>

        <AppShell.StatusBar>
          <StatusBar>
            <StatusBar.Section>
              <StatusBar.Item>Ready</StatusBar.Item>
            </StatusBar.Section>
          </StatusBar>
        </AppShell.StatusBar>
      </AppShell>
    </div>
  );
}

Theming

Entangle UI uses Vanilla Extract for zero-runtime styling. All theme tokens are exposed as stable CSS custom properties prefixed with --etui-*.

Default dark theme

Import the dark theme CSS to register all --etui-* variables on :root:

import 'entangle-ui/darkTheme.css';

Custom themes

Override tokens with plain CSS — no build tools required:

.my-theme {
  --etui-color-accent-primary: #2aa1ff;
  --etui-color-bg-primary: #0d1117;
  --etui-spacing-md: 10px;
}

Or use the createCustomTheme helper in a .css.ts file for type-safe overrides:

// myTheme.css.ts
import { createCustomTheme } from 'entangle-ui';

createCustomTheme('.my-theme', {
  colors: {
    accent: { primary: '#2aa1ff' },
    background: { primary: '#0d1117' },
  },
});

Then wrap your app:

import { VanillaThemeProvider } from 'entangle-ui';
import './myTheme.css';

<VanillaThemeProvider className="my-theme">
  <App />
</VanillaThemeProvider>;

Theme contract

Access theme tokens programmatically in .css.ts files via the vars object:

import { style } from '@vanilla-extract/css';
import { vars } from 'entangle-ui';

export const card = style({
  background: vars.colors.surface.default,
  padding: vars.spacing.md,
  borderRadius: vars.borderRadius.md,
  color: vars.colors.text.primary,
});

What Is Included

Primitives

  • Button, IconButton
  • Input, Text, Paper, Icon
  • Checkbox, CheckboxGroup, Switch
  • Tooltip, Popover, Collapsible

Layout

  • Stack, Flex, Grid, Spacer
  • Accordion
  • ScrollArea
  • SplitPane, SplitPanePanel
  • PanelSurface

Controls

  • NumberInput, Slider, Select, VectorInput
  • ColorPicker, ColorPalette, ColorSwatch, EyeDropper
  • TreeView
  • CurveEditor + helpers (evaluateCurve, sampleCurve, createLinearCurve, domainToCanvas)
  • CartesianPicker

Navigation

  • Menu, ContextMenu, useMenu, useContextMenuTarget
  • Tabs, TabList, Tab, TabPanel

Shell

  • AppShell, useAppShell
  • MenuBar
  • Toolbar
  • StatusBar
  • FloatingPanel, FloatingManager

Editor

  • PropertyPanel, PropertySection, PropertyRow, PropertyGroup
  • usePropertyUndo
  • ViewportGizmo
  • ChatPanel, ChatMessageList, ChatMessage, ChatBubble, ChatInput
  • ChatTypingIndicator, ChatToolCall, ChatCodeBlock
  • ChatAttachmentChip, ChatContextChip, ChatEmptyState
  • ChatActionBar, ChatInputToolbar
  • useChatMessages, useChatInput, useChatScroll

Feedback and Form

  • Dialog primitives (Dialog, DialogHeader, DialogBody, DialogFooter, DialogClose)
  • ToastProvider, useToast
  • FormLabel, FormHelperText, InputWrapper

Utilities

  • vars — Theme contract object mapping to --etui-* CSS custom properties
  • darkThemeValues — Default dark theme token values
  • createCustomTheme(selector, overrides) — Type-safe custom theme helper
  • VanillaThemeProvider — Scoped theme wrapper component
  • cx(...classes) — Class name composition utility
  • cn(...classes) — Conditional class name utility

Development

npm install
npm run dev            # Storybook
npm run test           # Vitest
npm run lint
npm run type-check
npm run build

Release Workflow

This repository uses Changesets.

npm run changeset
npm run version-packages
npm run release

Links

  • Documentation: https://www.entangle-ui.dev
  • Source: https://github.com/SebastianWebdev/entangle-ui
  • Issues: https://github.com/SebastianWebdev/entangle-ui/issues

License

MIT