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

@devbrock/comic-ui

v0.1.3

Published

Comic UI is a comic-inspired React component library, delivering a bold, pop-art design system inspired by classic and 90s Marvel comics.

Downloads

466

Readme

Comic UI

Comic-inspired React components powered by TailwindCSS.

Think of it like snapping a new LEGO brick into your build: you install the package, tell Tailwind to “look at it” when generating CSS, then import the components you want.

Install

pnpm add @devbrock/comic-ui

Base styles (required)

Comic UI components use shadcn-style design tokens (CSS variables) and a few animation helpers. Import the library’s base stylesheet once (usually in your app’s global CSS or root entry file):

import "@devbrock/comic-ui/styles.css";

If you want the demo typography, load the fonts in your app (Comic UI references Bangers and Outfit but does not auto-load them).

Tailwind setup (required)

Because Tailwind only generates CSS for classnames it can “see”, you must include this library in Tailwind’s scan paths; otherwise components (like Button) will render unstyled.

Tailwind v3 (tailwind.config.(js|ts))

Add the library to your content globs:

// tailwind.config.ts
import type { Config } from "tailwindcss";

export default {
  content: [
    "./src/**/*.{js,ts,jsx,tsx}",
    "./node_modules/@devbrock/comic-ui/dist/**/*.{js,cjs,mjs}",
  ],
} satisfies Config;

Tailwind v4 (CSS-first)

Add a @source for the library in your global CSS (the file where you @import "tailwindcss";).

Important: the @source path is resolved relative to that CSS file, so you may need to adjust the number of ../ segments depending on where your global CSS lives.

@import "tailwindcss";
@source "../node_modules/@devbrock/comic-ui/dist/**/*.{js,cjs,mjs}";
@import "@devbrock/comic-ui/styles.css";

For example:

  • If your global CSS is src/index.css (common in Vite/CRA), ../node_modules/... is usually correct.
  • If your global CSS is app/globals.css (common in Next.js), you’ll likely want ../node_modules/... only if app/ sits at the project root; otherwise adjust accordingly.

Use Button

import { Button } from "@devbrock/comic-ui";

export function Example() {
  return <Button onClick={() => console.log("Pow!")}>Click me</Button>;
}

Variants

Button supports variants and sizes via props:

import { Button } from "@devbrock/comic-ui";

export function Example() {
  return (
    <>
      <Button variant="default">Default</Button>
      <Button variant="destructive">Destructive</Button>
      <Button variant="outline">Outline</Button>
      <Button variant="secondary">Secondary</Button>
      <Button variant="ghost">Ghost</Button>
      <Button variant="link">Link</Button>
      <Button variant="impact">Impact</Button>
      <Button variant="hero">Hero</Button>
      <Button variant="heroBlue">Hero Blue</Button>
      <Button variant="mutant">Mutant</Button>
      <Button variant="gamma">Gamma</Button>
      <Button variant="burst">Burst</Button>
    </>
  );
}

Sizes:

import { Button } from "@devbrock/comic-ui";

export function Example() {
  return (
    <>
      <Button size="sm">Small</Button>
      <Button size="default">Default</Button>
      <Button size="lg">Large</Button>
      <Button size="xl">XL</Button>
      <Button size="icon" aria-label="Icon button">
        +
      </Button>
    </>
  );
}

Notes

  • The root entrypoint exports named exports for components/utilities (for example Button, cn, toast, useToast).
  • Button is a single component; you pick its styling using the variant and size props.