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

@locusgraph/brand

v0.2.0

Published

LocusGraph logo, wordmark and sign-in provider marks as React components and SVG files.

Readme

@locusgraph/brand

The LocusGraph mark and wordmark, and the Google and GitHub marks for sign-in buttons. React components, plus SVG files for favicons and anything that is not React.

pnpm add @locusgraph/brand
@import "@locusgraph/brand/sources.css";

The wordmark uses Tailwind classes, so add that line next to your theme import.

import { GitHubMark, GoogleMark, LocusGraphMark, LocusGraphWordmark } from "@locusgraph/brand";

<LocusGraphMark className="size-5" />
<LocusGraphWordmark withMark />

The LocusGraph mark and the GitHub mark draw in the current text color, so they follow light and dark mode. The Google mark keeps Google's colors, as its brand rules require. Every mark is aria-hidden; put the name in visible text or an aria-label next to it.

SVG files ship at @locusgraph/brand/svg/locusgraph-mark.svg, google-mark.svg, github-mark.svg and locusgraph-icon-{dark,light,brand}.svg (512px).

Product marks

SpendGraphWordmark matches LocusGraphWordmark. ProductWordmark takes product: "locusgraph" | "spendgraph".

<ProductWordmark product="spendgraph" withMark />

App icon

LocusGraphIcon draws the mark on a square tile as one SVG, for favicons and app icons. size is in pixels (default 64) and variant is dark, light or brand. It renders in Next.js ImageResponse:

import { LocusGraphIcon } from "@locusgraph/brand";
import { ImageResponse } from "next/og";

export const size = { width: 512, height: 512 };
export const contentType = "image/png";

export default function Icon() {
  return new ImageResponse(<LocusGraphIcon size={512} variant="brand" />, size);
}

Social card

SocialCard is a 1200×630 Open Graph image built with inline styles and flexbox only, so the same component renders in the browser and in ImageResponse. Props: title, description, product, url and theme (dark or light); socialCardSize and socialCardFonts help set up opengraph-image.tsx.