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

@domicile-desktop/component-library

v0.0.0-alpha-bfbc2e9a3043

Published

React components and the Panda CSS design system that Domicile's shells are built from.

Readme

@domicile-desktop/component-library

Shared React UI components for every Domicile app, plus the Panda CSS preset the other packages extend.

  • Components wrap @base-ui/react where it has a primitive. base-ui handles focus, keyboard navigation, portals and validation. This package adds styling and a simpler API.
  • Apps use these components instead of raw HTML buttons, inputs or dialogs. If one is missing, add it here. See /docs/guidelines/STYLING.md.

Exports

Each export is @domicile-desktop/component-library/<name>.

| Name | What it is | |---|---| | Accordion | Stack of sections that open and close. | | Autocomplete | Text field with a suggestion list the caller supplies and ranks. | | Avatar | Avatar with an initials or gradient fallback. | | Button | Button or link, with variants and sizes. | | Card | Raised surface with optional title and footer. | | Drilldown | View that slides a second panel in from the side, with a back button. | | Field | Label, control and validation message. | | FilePicker | Keyboard-first file picker over its positioned parent. | | file-request | FileRequest and ChooserMode: what FilePicker asks for and how it answers. | | Input | Text input with prefix icon, clear button and invalid state. | | Kbd | Keyboard key cap. | | list-walk | Arrow-key movement of a highlight through a list while focus stays in an input. | | ModalDialog | Modal dialog with title, footer and trigger props. | | ContextMenu | Menu opened at a point, such as a right click's. Parts: Item, CheckboxItem, RadioGroup and RadioItem, Submenu, Separator. Items take an icon and a mnemonic, whose letter chooses them. | | PortalDialogs | Every dialog applications ask for through the desktop portal. Mount one per shell with host={domicile}; it refuses kinds it cannot draw. omitScreenCasts leaves screen casts out of its indicator. See PORTALS.md. | | source-name | sourceName: how a screen cast's source is named. | | Popover | Non-modal panel anchored to the control that opened it. | | Provider | base-ui DirectionProvider wrapper. Every app roots its tree in it. | | Screen | Renders its children once per selected display. | | DisplayProvider | Supplies the host's displays to Screen. | | display-source | Display and DisplaySource types for DisplayProvider. | | Select | Select / listbox. | | SlideOver | Drawer anchored to a screen edge. | | Slider | Single-value range slider drawn in currentcolor. | | Switch | On/off switch with its label. | | Tabs | Tab set built from a tabs array, with sizes. | | TabRail | Vertical tab rail with brand slot, footer and collapse. | | Textarea | Auto-sizing textarea with a resize handle. | | Toaster | Stack of toasts in a corner. The caller renders each card. | | ThemeProvider | Light/dark theme state. Sets data-theme on <html>. | | ThemeSwitch | Button that flips the theme. | | useApps | Hook: names and icons of applications by app id, from their desktop entries. | | usePictureUrl | Hook: a URL an <img> can show for a file read through the SDK's system. | | usePortalWallpaper | Hook: the pictures applications set through the Wallpaper portal, as paths. | | theme-core, theme-source, standalone-theme-source | Theme types and sources. Use the standalone source where there is no compositor, such as Storybook. | | control-sizes | Size type and SIZES array for sized controls. | | spacing | rem value of one spacing step, for runtime math. | | pandacss-preset | domicilePreset, extended by every package's panda.config.ts. | | vite-shell | shellBuild({ entry }): the Vite config a shell needs so Domicile can load it. See the comments in src/vite-shell.ts. |

Scripts

bun run start:dev        # Storybook on port 4000
bun run build:storybook  # build Storybook into storybook-static/
bun run start:prod       # serve that build on port 4000
bun run prepare          # Panda codegen into styled-system/
bun run test:unit        # bun:test + happy-dom
bun run test:types       # tsc --noEmit

More