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

@ipulsehq/ui

v0.2.0

Published

iPulse design system: gedeelde React UI-componenten (Button, Badge, Input, ...) voor alle Pulse-apps en interne tools

Downloads

256

Readme

@ipulsehq/ui

Gedeeld iPulse design system: één set React UI-componenten (Button, Badge, Input, Card, Alert, ...) voor alle Pulse-apps en interne tools, zodat knoppen en inputs overal identiek zijn. Zie taak #311.

Repository: https://github.com/iPulseHQ/iPulse

Waarom

Vandaag heeft elke app een eigen button.tsx, badge.tsx, enzovoort (PulseGuard met Radix + cva, iPulse en PulseFiles met losse varianten). Dit package centraliseert die primitives, zodat een wijziging aan bijvoorbeeld de button op één plek gebeurt.

Hoe het werkt

  • Componenten dragen genaamde CSS-klassen (ipui-btn, ipui-card, ...) die gedefinieerd zijn in één stylesheet: @ipulsehq/ui/styles.css.
  • Die stylesheet is gebouwd op de gedeelde design-tokens (--color-primary, --color-border, --radius-md, ...). Apps die deze tokens al exposen (PulseGuard, iPulse, PulseFiles) krijgen automatisch hun thema, accentkleur en dark mode. Tools zonder die tokens vallen terug op nette neutrale defaults, dus componenten zijn nooit ongestyled.
  • Geen Tailwind-, Radix- of icon-library-dependency. Werkt in Vite, Next en losse interne tools.

Installatie

npm install @ipulsehq/ui          # of: bun add @ipulsehq/ui

In de monorepo (iPulse zelf) via de workspace:

// package.json
"dependencies": { "@ipulsehq/ui": "workspace:*" }

Gebruik

Importeer de stylesheet één keer in de app-root (naast je eigen globals):

import '@ipulsehq/ui/styles.css';

Daarna overal:

import { Button, Card, CardHeader, CardTitle, Input, Label } from '@ipulsehq/ui';

<Button variant="primary" size="md" loading={saving}>Opslaan</Button>
<Button variant="outline" asChild><a href="/docs">Docs</a></Button>

<Card>
  <CardHeader>
    <CardTitle>Profiel</CardTitle>
  </CardHeader>
</Card>

Elk component accepteert className voor overrides en spreidt de native DOM-props door. In Tailwind-apps kun je dus gewoon utility-classes meegeven.

Componenten

| Component | Varianten | Maten | | --- | --- | --- | | Button | primary, secondary, outline, ghost, destructive, link | sm, md, lg, icon, icon-sm, icon-lg | | Badge | primary, secondary, outline, destructive, success | — | | Input | — | — | | Textarea | — | — | | Label | — | — | | Card (+ CardHeader/Title/Description/Content/Footer) | — | — | | Alert (+ AlertTitle/Description) | default, destructive | — | | Skeleton | — | — | | Spinner | — | size (px) | | Separator | — | orientation | | Switch | — | — | | Checkbox | — | — | | Avatar (+ AvatarImage/AvatarFallback) | — | size | | Progress | — | — | | Tabs (+ TabsList/TabsTrigger/TabsContent) | — | — | | VisuallyHidden | — | — |

Plus utilities: Slot (voor asChild), cn en getInitials.

Interactieve componenten met portals/positionering (Dialog, Dropdown, Select, Tooltip, Popover, ...) staan bewust nog niet in v0.x: die vragen een positioning-dependency en komen in een aparte fase.

Een component toevoegen

  1. Voeg de stijl toe in styles.css met een ipui--prefix, gebouwd op de gedeelde tokens (met fallback).
  2. Maak src/components/<naam>.tsx (forwardRef, className mergen via cn).
  3. Exporteer component + props-type in src/index.ts.
  4. Werk de tabel hierboven bij.

Bouwen & publiceren

cd packages/ipulse-ui
npm run build          # tsc --build -> dist/
npm publish            # public op registry.npmjs.org

Verhoog de version in package.json volgens semver bij elke publish.