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

@aircall/blocks

v0.16.0

Published

Aircall Blocks — higher-level UI compositions built on @aircall/ds

Readme

@aircall/blocks

Higher-level UI compositions built on @aircall/ds — page shells (DashboardPage / DashboardStandalonePage), the form layer (useForm + the Form*Field TanStack Form wrappers), empty states, and more.

pnpm add @aircall/blocks @aircall/ds

Import the precompiled CSS once from your entry. @aircall/blocks/globals.css already bundles the entire @aircall/ds/globals.css — do not import both or you duplicate all of DS's compiled output (Preflight, theme tokens, all DS utilities):

// ✅ Correct — blocks already includes DS
import '@aircall/blocks/globals.css';

// ❌ Wrong — duplicates all of DS's compiled output
// import '@aircall/ds/globals.css';
// import '@aircall/blocks/globals.css';

If you author your own Tailwind utility classes, use a CSS entry instead of a JS import:

/* style.css */
@layer theme, base, components, utilities;
@import 'tailwindcss/theme.css' layer(theme);
@import 'tailwindcss/utilities.css' layer(utilities);
@import '@aircall/blocks/globals.css';
@source "./src/**/*.{ts,tsx}";

For module-federation consumers (your app runs as a remote inside a host that already loads DS/blocks globals), omit both globals imports entirely.

Importing @aircall/blocks registers a blocks i18n namespace on @aircall/ds's shared i18next instance. To make block strings follow the user's language, mount DsI18nProvider (from @aircall/ds) under your react-i18next provider, fed the active language. See the @aircall/ds README and the aircall-ds/setup skill for the full provider tree.

For AI agents — migrating off @dashboard/library?

This package ships TanStack Intent migration skills in its skills/ directory (published in the npm tarball): aircall-blocks/migrate-dashboard (+ per-area recipes) for moving @dashboard/library screens to @aircall/blocks / @aircall/ds, plus aircall-blocks/setup. Enable them (one-time, same as @aircall/ds):

pnpm add @aircall/blocks@latest @aircall/ds@latest @aircall/react-icons@latest # react-icons >= 0.4.0
npx @tanstack/intent install   # writes the discovery block into CLAUDE.md / AGENTS.md
# allowlist in package.json: { "intent": { "skills": ["@aircall/ds", "@aircall/blocks"] } }

Then the agent loads guidance on demand:

npx @tanstack/intent load "@aircall/blocks#aircall-blocks/migrate-dashboard"

aircall-blocks/setup builds on aircall-ds/setup, so the DS providers, globals.css, and jsdom test shims documented there apply here too.