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

@smthrs/ui

v0.35.0

Published

Shared shadcn-anatomy component library for Smithers UIs. Radix primitives + CVA variant APIs styled with the ui-styleguide theme tokens, shipped as CSS-in-TS strings so components bundle through the gateway's Bun.build and follow light/dark (prefers-colo

Readme

@smthrs/ui

Shared component library for Smithers UIs: shadcn component anatomy (compound slots, CVA variant APIs, asChild, data-slot attributes) and Radix behavior, styled entirely through theme tokens so every component is correct in light and dark and honors prefers-reduced-motion.

Styling ships as CSS-in-TS (smithersUiCss) because the gateway UI bundler drops .css imports. Render <SmithersUiStyles /> once at the root; every component also self-injects the composed sheet plus its lane CSS fragment as a fallback. All classes are namespaced sui-*.

import { SmithersUiStyles, Button, StatusPill } from "smthrs/ui";

Families

  • Base primitives: Button, Badge, Card, Input, Label, Alert, Table, Tabs, Dialog, Tooltip, Select, Progress, Separator, Skeleton, Spinner, EmptyState, SectionHeader, RowButton, KpiStat, StageStrip, CollapsiblePanel, DiffHunks, FileTree, Markdown.
  • Conversation: Message family, MessageBranch family, Bubble family, MessageScroller (drop-in and compound anatomy plus hooks), CompactGroup, ConversationCheckpoint, ChatMessage, ChatTranscript, ChatComposer, Marker, Shimmer.
  • Prompt and attachments: PromptInput family with usePromptInputAttachments, and the Attachment compound.
  • Reasoning and tools: Reasoning, ChainOfThought, ToolCall, CodeBlock (with header/filename/group/tabs), AgentOutput, MessageResponse, parseAgentOutput, formatPartialJson.
  • Plans, tasks, queues: Plan family, TaskItem, AgentTask family, Queue family, ActivityTimeline.
  • Approvals and checkpoints: Confirmation family, ApprovalCard, Checkpoint family.
  • Sources and citations: Sources, InlineCitation with card/carousel/quote, Suggestion, OpenInChat.
  • Agents and context: AgentDefinition, AgentCard, ModelSelector, ModelBadge, ProviderBadge, ContextUsage family.
  • Coding artifacts: Artifact, Snippet, PackageInfo, SchemaDisplay, StackTrace, TestResults, Commit, ChangeSummary, EnvironmentVariables, SecretField.
  • Sandbox previews: Sandbox/SandboxHeader/SandboxStatus/SandboxActions/SandboxContent (also exported as AgentSandbox* for back-compat), WebPreview, JSXPreview.
  • Workflow canvas: WorkflowCanvas node/edge/controls/panel/toolbar/minimap anatomy.

Heavy renderers stay behind smthrs/ui/adapters/* subpaths so the base barrel tree-shakes clean. Gateway-bound wrappers (GatewayApprovalList, GatewayApprovalConfirmation, GatewayCheckpointControls, SmithersCanvasNode) live in smthrs/gateway-ui.

Provenance for every ported family is recorded per lane under provenance/ and aggregated in shadcn-provenance.json; node scripts/check-ui-architecture.mjs enforces the catalog.