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

@nesso-how/ui

v1.0.0-beta.21

Published

Reusable React primitives and shared styles for Nesso, usable in the app and in isolated plugin panels

Readme

Nesso UI

React components styled for Nesso, including buttons, forms, menus, dialogs, and panels. Many controls build on Base UI. The package depends on Nesso's theme tokens; it does not include a standalone theme.

Install

npm install @nesso-how/ui@alpha

Requires React and React DOM ^19.2.8. The package follows Nesso's app version; test against the app versions you support rather than assuming compatibility from matching version numbers.

Use in a Nesso plugin

Nesso supplies React, component styles, and theme tokens inside plugin UI panels. No package stylesheet import is needed:

import { Button } from '@nesso-how/ui'

export function PluginUI() {
  return <Button>Hello</Button>
}

Keep React and React DOM external in your plugin bundle. Import your own layout CSS normally; Nesso does not compile arbitrary Tailwind classes from plugin source. Start with the standalone plugin example and see the SDK UI contract for setup and permissions.

Use outside Nesso

Install React/React DOM and configure Tailwind CSS 4 in your application. Import the package's source CSS after Tailwind in your main stylesheet:

@import 'tailwindcss';
@import '@nesso-how/ui/styles.css';

Your build must compile this CSS; it is not a precompiled stylesheet. Supply the theme CSS variables on your document or component container: colors such as --background, --foreground, and --border; --font-sans and --font-mono; --radius-control and --radius-object with length units; and --duration-state with time units. No theme values or font files are included. See the theme schema for all color tokens and Paper's theme for example values.

Components

| Area | Exports | | ---------------------- | ------------------------------------------------------------------------------------------------------------------------- | | Buttons and inputs | Button, IconButton, Input, DirectoryField, MarkdownInput, Label, PreferenceSelect, ColorPicker | | Forms and rows | Field, FieldHint, ListRow, ListRowButton, ListRowDetail, ListRowTitle, RevealActions, PromptForm | | Menus and popovers | Menu, MenuItem, MenuPopup, MenuRadioItem, Popover, PopoverPopup | | Search and suggestions | Combobox, ComboboxItem, ComboboxPopup, Autocomplete, AutocompleteClear, AutocompleteItem, AutocompletePopup | | Dialogs | Dialog, DialogActions, DialogPopup, ConfirmDialog, TextPromptDialog, BottomSheet | | Panels and disclosure | SidePanel, PanelHeader, PluginPage, PluginContent, SectionHeading, Collapsible, Tabs | | Feedback | Banner, BannerRow, BannerDetails, ToastViewport, Spinner | | Labels and icons | Kbd, ContextLabel, ActionIcon |

Button supports default, outline, and ghost variants. SidePanel supports controlled resizing and collapse. Spinner accepts an accessible label and respects reduced motion. State, content, and event handling remain yours to provide.

BottomSheet is a controlled, non-modal drawer with a title, close label, optional footer, and popup ref for measuring covered content. It supports swipe-down dismissal, safe-area padding, and reduced motion. Reading text can use --nesso-reading-font-size and --nesso-reading-line-height, which increase from 13/20px to 15/23px on narrow screens or coarse pointers.

MarkdownInput accepts Markdown through value/onChange, with live preview of emphasis, inline code, links, and lists. Syntax reappears around the selection. Cmd/Ctrl+B/I/E toggles bold, italic, and inline code; Enter continues or exits lists, Tab/Shift+Tab changes nesting, and Shift+Enter inserts a line break. Optional tasks enables clickable task checkboxes; placeholder appears when empty.

Undo/redo is local by default. Use history={false} for host-owned history or history="focus" to reset local history on blur and external value changes. Exhausted local history never falls through. Menu commands can send beforeinput events (historyUndo/historyRedo) to the focused editor inside [data-local-history].

Cmd/Ctrl-click calls onOpenLink; read-only fields use a regular click. The host validates and opens destinations.

The package also exports useMediaQuery, contrastColor, presetColors, and the ActionIconName and ToastItem types. See the public exports and component source files for prop definitions; published TypeScript declarations provide editor completion.