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

@keboola/design

v1.3.1

Published

Keboola UI platform design system — shadcn-aligned React primitives, Keboola-branded blocks, and the form bindings built on TanStack Form.

Readme

@keboola/design

The Keboola design system — shadcn-aligned, Radix-underneath, FontAwesome icons.

npm version Storybook

📦 Storybook: https://design-hh9143njj-keboola.vercel.app

📖 Decision tree: AGENTS.md — which component to use when. 🎨 Branding: ../../docs/branding.md (lands with PR #5674).

Install

yarn add @keboola/design @keboola/tailwind-config

Use

import { Button } from '@keboola/design';
import '@keboola/design/styles';

Documentation

$ yarn dev

See Storybook's documentation for an introduction to writing stories

Testing

$ yarn test

Or in UI mode:

$ yarn test:ui

For more information, read Vitest's documentation

Component tests (Storybook Vitest addon)

Every story is also run as a test via the Storybook Vitest addon (UT-4117):

  • render / smoke — the story mounts in a real browser without throwing (catches broken imports, runtime errors, bad props);
  • interaction — each story's play() function runs as a test.
yarn workspace @keboola/design test:stories

This is the cheap, low-flakiness base layer for testing stories. Screenshot/visual regression is a separate, complementary layer (UT-4060) — the Vitest addon does not do screenshot comparison.

How it's wired:

  • vitest.storybook.config.ts — a separate Vitest config (browser mode, Playwright Chromium provider) so yarn test stays jsdom-only and browser-free; story tests are opt-in via test:stories.
  • .storybook/vitest.setup.ts — applies the Storybook preview annotations (decorators, globals) so tests render exactly like Storybook.
  • optimizeDeps.entries crawls every story up front so Vite optimizes all story dependencies in one pass — without it, a heavy dep (mermaid, codemirror, …) discovered mid-run makes Vite re-optimize and 404 in-flight imports.

Prerequisites: build the workspace deps once (yarn build --filter='@keboola/design^...') and install the browser (yarn workspace @keboola/design exec playwright install chromium).

Adding coverage: nothing to do — every CSF *.stories.tsx is picked up automatically. Add a play() to a story to turn it into an interaction test. (MDX docs pages — src/**/*.mdx — are not executed as tests; the addon only runs CSF stories.)

Runs locally only for now. There's no CI workflow yet — in CI (2-core runner) browser mode costs ~35 s per story file, so the suite needs a CI-viability pass (browser isolate: false, cached Vite deps, sharding, or nightly) before it's wired in. Tracked in UT-4191. Adding @storybook/addon-a11y for per-story accessibility checks is a separate follow-up.

Icons

All icons should use the Icon component, which is a wrapper around FontAwesomeIcon. Browse the available icons in the Storybook Icons page.

When using custom icons (prefix fak), pass the icon as a tuple: <Icon icon={['fak', 'custom-icon']} />.