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

@sentio/ui-core

v0.1.4

Published

A basic UI component library with zero Web3 dependencies.

Readme

@sentio/ui-core

A basic UI component library with zero Web3 dependencies.

Features

  • 🎨 Full Tailwind CSS theme system
  • 🧩 Core UI components (Button, Dialog, Tooltip, Loading, etc.)
  • 📦 No Web3 dependency
  • 🎯 Lightweight

Installation

pnpm add @sentio/ui-core

Usage

import { 
  Button, 
  BaseDialog, 
  BarLoading, 
  CopyButton,
  Input,
  Select,
  Switch,
  PopoverTooltip,
  ResizeTable,
  FlatTree,
  useMobile
} from '@sentio/ui-core'
import '@sentio/ui-core/dist/style.css'

function App() {
  const isMobile = useMobile()
  
  return (
    <>
      <Button>Click me</Button>
      <BarLoading />
      <CopyButton text="Copy this" />
      <Input placeholder="Enter text" />
      {!isMobile && <p>Desktop view</p>}
    </>
  )
}

Included components

Common Components

  • BarLoading - Bar loading indicator
  • SpinLoading - Spinner loading indicator
  • CopyButton, CopyIcon, CopySuccessIcon - Copy button and icons
  • Button - Button component with loading state support
  • BaseDialog, BaseZIndexContext - Dialog component with z-index context
  • PopoverTooltip - Tooltip component
  • DisclosurePanel - Disclosure panel component
  • Collapse - Collapse/expand component
  • Input - Input component
  • RadioSelect - Radio select component
  • Switch - Switch toggle component
  • Select - Select dropdown component
  • FlatTree - Tree component with flat data structure
  • LinkifyText - Text component that converts URLs to links
  • Empty - Empty state component
  • StatusBadge, StatusRole - Status badge components
  • HeaderToolsToggleButton, HeaderToolsContent - Header tools dropdown

Table Components

  • ResizeTable - Resizable table component
  • MoveLeftIcon, MoveRightIcon, RenameIcon, DeleteIcon - Table action icons

Menu Components

  • PopupMenuButton - Popup menu button
  • MenuItem, SubMenuButton, MenuContext, COLOR_MAP - Menu system components

Tree Components

  • ROOT_KEY, SUFFIX_NODE_KEY - Tree node key constants
  • PlusSquareO, MinusSquareO, CloseSquareO, EyeO - Tree icons

Utilities & Hooks

  • useMobile() - Detect mobile device
  • useBoolean() - Boolean state hook
  • Number formatting utilities (e.g., getNumberWithDecimal())
  • classNames() - Classname utility
  • Contexts: NavSizeContext, BaseZIndexContext, MenuContext
  • Extension context utilities

Theming

Components are themed using CSS variables. You can customize the theme by overriding these variables:

:root {
  --primary-600: 7, 86, 213;
  --gray-600: 75, 85, 99;
  /* ... */
}