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

@supertst/ds

v0.15.1

Published

Supertest design system — React components + design tokens for Tailwind v4.

Readme

@supertst/ds

Supertest design system — React components + design tokens for Tailwind v4.

Install

npm install @supertst/ds

CSS Setup

Add to your globals.css:

@import "@supertst/ds/styles";

Usage

import { Button } from "@supertst/ds"

export function MyPage() {
  return <Button variant="default">Comenzar simulacro</Button>
}

Brand-Aware Components

Several DS components change visuals by brand, including BrandLogo, SidebarApp, DialogRegisterStudent, EstadisticaEstudiante, SubjectSelector, SubjectPill, and SubjectSplashScreen.

In Next App Router, add the brand bootstrap script to your root layout:

import { BrandScript } from "@supertst/ds"

export default function RootLayout({
  children,
}: Readonly<{ children: React.ReactNode }>) {
  return (
    <html lang="es" data-brand="colegios" suppressHydrationWarning>
      <head>
        <BrandScript defaultBrand="colegios" />
      </head>
      <body>{children}</body>
    </html>
  )
}

If you need to switch brands at runtime, use setBrand("colegios") or setBrand("universidades").

Next App Router

In Next App Router, @supertst/ds resolves to the server-safe bundle when it is imported from a Server Component through the react-server export condition.

@supertst/ds/client is the explicit client entry for interactive primitives such as Dialog, Sheet, Popover, and other "use client" components. Import that entry only from your own client modules.

Server component:

import { Button, Card } from "@supertst/ds"
import { DetailsDialog } from "./details-dialog"

export default function Page() {
  return (
    <Card className="p-6">
      <DetailsDialog
        trigger={<Button variant="outline">Ver detalles</Button>}
      />
    </Card>
  )
}

Client wrapper:

"use client"

import type { ReactNode } from "react"
import {
  Dialog,
  DialogContent,
  DialogHeader,
  DialogTitle,
  DialogTrigger,
} from "@supertst/ds/client"

export function DetailsDialog({ trigger }: { trigger: ReactNode }) {
  return (
    <Dialog>
      <DialogTrigger asChild>{trigger}</DialogTrigger>
      <DialogContent>
        <DialogHeader>
          <DialogTitle>Detalles</DialogTitle>
        </DialogHeader>
      </DialogContent>
    </Dialog>
  )
}

Fonts

The DS uses SF Pro Rounded (macOS/iOS native) with Nunito as the web fallback. The package now degrades safely to "Nunito" if the font variable is missing, but to match the DS source of truth you should still load Nunito via next/font:

import { Nunito } from "next/font/google"

const nunito = Nunito({
  subsets: ["latin"],
  variable: "--font-nunito",
  weight: ["400", "500", "600", "700", "800"],
  display: "swap",
})

// Add nunito.variable to your html className

SF Pro Rounded loads automatically on Apple devices. No extra setup needed.

Tailwind v4

This package requires Tailwind CSS v4. The CSS tokens use @theme inline which requires v4. Make sure your project has tailwindcss@^4 installed and configured.